Phango - questions

Christopher Wright dhasenan at gmail.com
Mon Nov 19 05:41:09 PST 2007


Kris wrote:
> Er, why don't you give us some examples, Alix? That's what we'd be asking 
> you for on IRC.

I'll bite. Why do you use mixedCamelCase for both member variables and 
methods, and the same style for both private and public fields? This is 
a stylistic topic that almost no one touches, probably because Tango 
conventions seem to be lifted wholesale from Java and that's how Java 
does it, but I find it a bit confusing and annoying when I'm reading 
someone else's code.

Just curious.

I would at least prefix private variables with an underscore, if I were 
setting the style. But if I want to muck about with Tango's internals, I 
can suck it up.

> "Alix Pexton" <_a_l_i_x_._p_e_x_t_o_n_ at _g_m_a_i_l_._c_o_m_> wrote in message 
> news:fhqs6k$bi2$1 at digitalmars.com...
>> Kris wrote:
>>> "Alix Pexton"  wrote in message
>>>> Why aren't you listening? it's not "simply stylistic"!
>>> Then I suggest you hop onto IRC and explain it better, please Alix, 
>>> because I'm honestly not getting your point ,and neither are others :(
>>>
>>>
>> I think it would be better if you just answered your critics concerns 
>> openly here where it is on record.
>>
>> Time and again you have been invited to explain exactly why you chose to 
>> adopt a new convention, what you believe the benefits are and enter a 
>> mature debate of its merits and flaws, but we hear again and again "sorry, 
>> don't get it", "try irc/our forum" and "well, you have a choice", and 
>> regretfully perhaps, personal attacks on the motives of other users.
>>
>> A... 
> 
> 



More information about the Digitalmars-d mailing list