[Bioperl-l] method naming

Hilmar Lapp hlapp at gmx.net
Wed Jun 13 19:28:17 EDT 2007


Thanks Chris for doing this - looks great. The only comment that I  
have is that method names should never start with a capital letter.  
If the getter/setter is for a single object (as opposed to a list),  
the name should probably be similar (if not identical) to the class  
being expected and returned, but lower-case.

E.g., $feature->location(), $seq->species() etc

	-hilmar

On Jun 13, 2007, at 7:08 PM, Chris Fields wrote:

> Would probably be worth writing one up for Komodo since Mauricio,  
> Sendu, and I use it.
>
> I updated the Advanced BioPerl page with Hilmar's methods  
> suggestions/rules (as well as a few I found dating back a number of  
> years on the mail list).  It might be worth a glance in case there  
> are any changes needed:
>
> http://www.bioperl.org/wiki/Advanced_BioPerl
>
> chris
>
> On Jun 13, 2007, at 5:58 PM, Jason Stajich wrote:
>
>> Post your dualing screenshots to the wiki!
>>
>> I had started a couple of IDE pages on the wiki a while ago:
>>  http://bioperl.org/wiki/Emacs
>>  http://bioperl.org/wiki/Emacs_template
>>  http://bioperl.org/wiki/Vi
>>
>> If anyone is feeling excited enough to write a few more IDE pages  
>> and link them into a common article that would be great.
>>
>> -jason
>> On Jun 13, 2007, at 3:41 PM, Hilmar Lapp wrote:
>>
>>>
>>> On Jun 13, 2007, at 5:17 PM, Steve Chervitz wrote:
>>>
>>>> using the latest version of bioperl.lisp with xemacs 21.4.17, I
>>>> don't get a bioperl menu item
>>>
>>> I'm using GNU Emacs 22.0.50.1 (as Aquamacs) and the BioPerl menu  
>>> item
>>> it showing up just beautifully. (BTW it also have very nice icons  
>>> for
>>> various functions - though I always feel guilty for using keystrokes
>>> instead.)
>>>
>>> Is GNU Emacs finally winning this? ;)
>>>
>>> 	-hilmar
>>> -- 
>>> ===========================================================
>>> : Hilmar Lapp  -:-  Durham, NC  -:-  hlapp at gmx dot net :
>>> ===========================================================
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Bioperl-l mailing list
>>> Bioperl-l at lists.open-bio.org
>>> http://lists.open-bio.org/mailman/listinfo/bioperl-l
>>
>> --
>> Jason Stajich
>> jason at bioperl.org
>> http://jason.open-bio.org/
>>
>>
>
> Christopher Fields
> Postdoctoral Researcher
> Lab of Dr. Robert Switzer
> Dept of Biochemistry
> University of Illinois Urbana-Champaign
>
>

-- 
===========================================================
: Hilmar Lapp  -:-  Durham, NC  -:-  hlapp at gmx dot net :
===========================================================







More information about the Bioperl-l mailing list