renamepalooza time

Jonathan M Davis jmdavisProg at gmx.com
Fri Jan 21 14:49:11 PST 2011


On Friday, January 21, 2011 13:30:11 Ali Çehreli wrote:
> Andrei Alexandrescu wrote:
>  > iswhite
> 
> I like separating is with an underscore, like most coding styles do:
> 
>    is_whitespace
> 
> Warm and fuzzy... :)

Most? I've never dealt with a coding style that had underscores. It's generally 
camelcase, though I get the impression that using underscores in C code is more 
common (I've mostly used C++ and Java). Regardless however, Phobos' coding style 
uses camelcase, not underscores. And this whole thread was started to try and 
find better names for functions which need new names, because they don't 
currently follow Phobos' naming conventions.

- Jonathan M Davis


More information about the Digitalmars-d mailing list