|
Posted by Tony Marston on 07/31/06 10:36
"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:RridnQZk68UkUFHZnZ2dnUVZ_vSdnZ2d@comcast.com...
> Shelly wrote:
>> "Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
>> news:-o2dnUSBY-LaCFbZnZ2dnUVZ_sudnZ2d@comcast.com...
>>
>>>But if you're never worked on a multi-programmer project in a case
>>>sensitive language you may not understand the benefits.
>>
>>
>> Jerry, I think you caught the real reason here. I'm disappointed at
>> myself that I didn't think of it. It is the MULTI-programmer aspect that
>> brings in the real need for enforcing conventions.
>>
>> Shelly
>
> Shelly,
>
> Yes, it is much more important in multi-programmer projects.
>
> For instance, when looking at someone else's code, I can tell that
> 'Employee' is a class object, while 'anEmployee' is an object of the
> Employee class, and employee[] is an array of Employee objects. And when
> everyone uses the same conventions, you have less chance of conflicts
> between different programmers.
All you are doing, yet again, is identifying that the use of different case
was only introduced as a programmer convention in those languages which make
it difficult to differentiate between variables, constants, functions and
methods. Decent languages do not have such a problem, yet you insist on
making a programmer convention in one particular language a requirement in
all other languages for no good reason.
> And sure, I know you can add comments to explain the code. And I'm not at
> all against comments - I encourage their use. But at the same time I'm a
> big promoter of having the code document itself as much as possible, and
> conventions like these help.
>
> Case sensitivity can really help with code clarity, if it's used properly
> and conventions are followed.
Case sensitivity is not the only method of introducing code clarity, unless
of course you are using a language which makes it difficult to differentiate
between code and comments. Decent languages do not have such a problem,
therefore the introduction of case sensitivity does not provide any
benefits.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
Navigation:
[Reply to this message]
|