Glamour – An opengl wrapper for D

Jakob Ovrum jakobovrum at gmail.com
Sat Jul 28 20:14:09 PDT 2012


On Saturday, 28 July 2012 at 21:21:58 UTC, David wrote:
> This is my personal coding-style, heavily influenced by Pythons 
> PEP-8. I am using it, because I personally don't like the 
> camelCase, because I think it makes e.g. distinguishing members 
> from types harder or reading the names and I also don't like 
> the look of it.

You are throwing consistency out of the window because of your 
own personal preference. You shouldn't be using the same style 
regardless of language and project.

>> How would you feel about changing the naming to the standard D
>> conventions? I'll help you out if you think this ok.
>
> Not a fan of that, this would break existing code and has no 
> real benefits.

It's in your best interest to use the D style [1] if you want 
people to use your code.

[1] http://dlang.org/dstyle.html


More information about the Digitalmars-d-announce mailing list