Re: Code should be selv-maintaining!
| From: | Ross McKay | Date: | Thu, 01 Sep 2011 06:39:13 +0000 |
| Subject: | Re: Code should be selv-maintaining! | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314694@lists.php.net to get a copy of this message | ||
Robert Cummings wrote:
>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).
--
Ross McKay, Toronto, NSW Australia
"Hold very tight please! Ting! Ting!" - Flanders and Swann