[Phylobase-devl] labels() and other questions

Ben Bolker bolker at zoo.ufl.edu
Fri Feb 29 22:18:25 CET 2008

Hilmar Lapp wrote:
> On Feb 29, 2008, at 2:32 PM, Ben Bolker wrote:
>> should we call it "tip.labels" or "tip_labels" instead
> Note that having underscores in function names is very unusual in R (or 
> at least used to be, due to problems the interpreter would have with 
> that in an early version if I recall correctly).
> It used to be all dots between the syllables but meanwhile I see a lot 
> of camelCase too; in fact that seems to be the trend.
>     -hilmar

   Yes.  R trivia: in earlier versions, _ was shorthand for "<-" 
assignment (which in turn was used in S because the keyboards used at
Bell labs had an arrow key/character!).  Once = became available,
and popular, the _ was less necessary.  The reason I like underscores
is that R has also suffered from the semantics of "."; is it a word
separator (with no real meaning in the language), or an indicator of
an S3 class method?  It can be either ... so that's why _ is nice
as a word separator ...

    happy friday,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.r-forge.r-project.org/pipermail/phylobase-devl/attachments/20080229/74f6fb34/attachment.pgp 

More information about the Phylobase-devl mailing list