Re: Code should be selv-maintaining!
| From: | Robert Cummings | Date: | Thu, 01 Sep 2011 07:21:00 +0000 |
| Subject: | Re: Code should be selv-maintaining! | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314695@lists.php.net to get a copy of this message | ||
On 11-09-01 02:39 AM, Ross McKay wrote:
Robert Cummings wrote:Oh for sure, it's necessary that novices have something towards which they can evolve. If they start with Allman's then how could they improve their brace style >:) Cheers, Rob. -- E-Mail Disclaimer: Information contained in this message and any attached documents is considered confidential and legally protected. This message is intended solely for the addressee(s). Disclosure, copying, and distribution are prohibited unless authorized.That's because JavaScript is broken in some ways. As much as I like JavaScript, some parts of the language were thrown together by flinging crap at a fan and seeing what sticks to the wall... this being a prime example.Sounds a lot like PHP :) which I must add I love dearly, though it certainly resembles your remark much more closely than JavaScript. But on-topic, novices using a coding style and feeling their way around a new language would be better served by the 1TB style than anything that easily allows statement insertion (either by them, or by silly language defects like JavaScript's semicolon insertion).