Re: Re: cvs: php-src / CODING_STANDARDS

From: Date: Wed, 03 Dec 2003 14:05:19 +0000
Subject: Re: Re: cvs: php-src / CODING_STANDARDS
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-6086@lists.php.net to get a copy of this message
Here is more on the history of uglyCaps: http://www.testingcraft.com/cgi-bin/wiki.cgi?StudlyCaps Quote: ``Round about 1978, I remember using a terminal, said to be "a European one", that displayed the underscore character as a backward arrow. Some programming language or other used that character for assignment, which made programs written in it look pretty funny on any other terminal. It also meant that programming languages couldn't sensibly use_underscores_in_multiword_variables." ´´ ``I remain firmly convinced, with no particular evidence, that that's the readon the HarderToReadStudlyCapsStyle? was invented: as a workaround. It seems to have become prevalant and cool when Smalltalk became cool (though not prevalent). Like a genetic disease, it's now so intertwined in our "Digital DNA" that we can't eradicate it - see the standard Java APIs, for example. ´´ Fortunately, we can avoid falling into that trap. PHP supports underscores, and terminals which cannot display the character correctly don't prevail any longer. So, studlyCaps fans, join the modern times where it is permittable to use underscores as word seperators. - Sascha

« previous php.internals (#6086) next »