Re: Case sensitivity in programming languages.



Shelly wrote:
"Jerry Stuckle" <jstucklex@xxxxxxxxxxxxx> wrote in message news:-o2dnUSBY-LaCFbZnZ2dnUVZ_sudnZ2d@xxxxxxxxxxxxxx

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.

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.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.



Relevant Pages

  • Re: Case sensitivity in programming languages.
    ... sensitive language you may not understand the benefits. ... I think you caught the real reason here. ... brings in the real need for enforcing conventions. ... Employee class, and employeeis an array of Employee objects. ...
    (comp.lang.php)
  • Re: GOPs Whitman blames opponent for housekeeper flap
    ... It's "Jerry", you numbskull liberal socialist! ... Will ya get a load of this Maroon" ... Agency, who was SUPPOSED to "vet" their employee submissions, doesn't ... foolish or incessant merriment; from Abdera, in Thrace, whose citizens ...
    (talk.politics.guns)
  • RE: Join Query Expression
    ... Jerry, thanks for the response. ... I am having trouble with the syntax though. ... manually fix the problem records. ... Table 2 has employee name in this order: ...
    (microsoft.public.access.queries)
  • Re: Table Names
    ... The singular/plural distinction is not ... something I have taken too much notice of before, so just for fun I ... Thus a table containing employee records ... > conventions, ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Table Names
    ... >each represented by a single row of information. ... Thus a table containing employee records ... I feel it's important to be consistent in your naming ... conventions, ...
    (microsoft.public.access.tablesdbdesign)