[PD-dev] under_scores versus studlyCaps in object names

Hans-Christoph Steiner hans at eds.org
Sun Mar 26 17:05:37 CEST 2006


On Mar 26, 2006, at 12:11 AM, Mathieu Bouchard wrote:

> On Sun, 26 Mar 2006, carmen wrote:
>> On Sat Mar 25, 2006 at 09:45:52PM -0500, Hans-Christoph Steiner  
>> wrote:
>>> I just was thinking: C++, Java, SuperCollider, Python, SmallTalk,
>>> processing, etc. all use studlyCaps as the standard for object and
>>> method names rather than the GNU C under_score_object_names or the
>>> Max/Pd-style runeverythingtogether (natural for German and Thai
>>> speakers, but not most languages AFAIK).
>> i think its called camelCase in some circles. no idea why, as i  
>> can't read Arabic..
>
> Ruby uses underscores in methodnames and CamelCase in classnames.
>
> Most LISPs and Schemes use dashes.
>
> Most of the C/POSIX API does alltogetherwordsclumping, often without
> vowels.

C/POSIX uses a lot of arbitrary abbreviations and is not something to  
emulate, in my book.

arbitrary-abbreviation with whole word: fnmatch
first 3 consonants: strcmp, strcpy
whole word with truncate: opendir, readdir, closedir

.hc


>> pd symbols can have spaces, so do we even need underscores? i find  
>> eather solution incongruous and not idiomatic with pd
>
> If we switch to unicode then we can use *smileys* instead of spaces or
> underscores. That'll make all Pd users much happier.
>
>  _ _ __ ___ _____ ________ _____________ _____________________ ...
> | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
> | Freelance Digital Arts Engineer, Montréal QC Canada
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev


________________________________________________________________________ 
____

If you are not part of the solution, you are part of the problem.
                                                               -  
Eldridge Cleaver





More information about the Pd-dev mailing list