Readability and naming.

Kyle Furlong kylefurlong at gmail.com
Wed Jan 10 15:39:14 PST 2007


Mike Gerfin wrote:
> I came to this site following the link from Dr. Dobb's and love
> what I see.  I can't wait to start implementing my next project
> in D!  However, on the subject of readability and D's promise
> (or goal) to make things easier for other programmers, I wish
> that C/C++ programmers would eliminate their attachment with
> needlessly terse variable and function names.  Granted, I've
> only been going through the site a few hours, but in many examples
> I see things like:
> 
> int w_count, l_count;   // etc.
> 
> Why can't we use:
> 
> int wordCount, lineCount;
> 
> I realize these are just examples, but if people get used to
> seeing descriptive naming used it will hopefully become the norm.
> Let's not persist with habits born from the days of FORTRAN.
> 
> My 2 cents.
> 
> -Mike

Welcome to D! I'm curious if you have specific plans for what you are 
writing in D?



More information about the Digitalmars-d mailing list