std.container.RedBlackTree versus C++ std::set

Ivan Kazmenko gassa at mail.ru
Thu Feb 14 16:56:45 PST 2013


Namespace wrote:
> A small but nice intentioned advice of me is this article: 
> http://dlang.org/dstyle.html
> "The names of user-defined types should be PascalCased, which 
> is the same as camelCased except that the first letter is 
> uppercase."

Thanks for pointing that out.  Indeed, PascalCase seems
convenient to use with D structs.  On the other side, I still
have aesthetic considerations against camelCase and prefer
underscores_between_words for variables in the programs I write
for personal use.


More information about the Digitalmars-d-learn mailing list