Post #176,125
9/24/04 10:31:01 AM
|
Mine's more readable by 3 columns
-drl
|
Post #176,131
9/24/04 10:39:22 AM
|
Probably need to move this discuss to Religion forum.
Let's just say that I disagree. Your version does not enhance readability because, (a) it just intersperses a bunch of whitespace where none is needed, and (b). the indentation of the block statements tells you everything you need to know (long live Python).
|
Post #176,132
9/24/04 10:44:12 AM
|
) { causes my visual cortex to segfault
-drl
|
Post #176,137
9/24/04 10:49:57 AM
|
Cut off your hand and cast it into the fire
You violate thy [link|http://www.lysator.liu.se/c/ten-commandments.html|Eighth Commandment], wherein it is written: 8 Thou shalt make thy program's purpose and structure clear to thy fellow man by using the One True Brace Style, even if thou likest it not, for thy creativity is better used in solving problems than in creating beautiful new impediments to understanding.These words, alas, have caused some uncertainty among the novices and the converts, who knoweth not the ancient wisdoms. The One True Brace Style referred to is that demonstrated in the writings of the First Prophets, Kernighan and Ritchie. Often and again it is criticized by the ignorant as hard to use, when in truth it is merely somewhat difficult to learn, and thereafter is wonderfully clear and obvious, if perhaps a bit sensitive to mistakes.
While thou might think that thine own ideas of brace style lead to clearer programs, thy successors will not thank thee for it, but rather shall revile thy works and curse thy name, and word of this might get to thy next employer. Many customs in this life persist because they ease friction and promote productivity as a result of universal agreement, and whether they are precisely the optimal choices is much less important. So it is with brace style.
As a lamentable side issue, there has been some unrest from the fanatics of the Pronoun Gestapo over the use of the word ``man'' in this Commandment, for they believe that great efforts and loud shouting devoted to the ritual purification of the language will somehow redound to the benefit of the downtrodden (whose real and grievous woes tendeth to get lost amidst all that thunder and fury). When preaching the gospel to the narrow of mind and short of temper, the word ``creature'' may be substituted as a suitable pseudoBiblical term free of the taint of Political Incorrectness.
|
Post #176,176
9/24/04 11:48:25 AM
|
Wow! :-)
|
Post #176,181
9/24/04 11:59:53 AM
|
In re-reading the ancient texts...
...I see they support DeSitters case at the function level - only the blocks within a function support mine style.
(but don't tell him, or he'll get a big head). :-)
|
Post #176,189
9/24/04 12:28:58 PM
|
Ahh, the good 'ol days...
...when I used to stalk the college computer centre at two in the morning and chant the ten commandments in a very "Pythonesqe" voice.
Seriously.
Powered by the Hammer of the Gods
|
Post #176,198
9/24/04 12:41:43 PM
|
I just bought a Cardinals hat
I *do* have a big head already :)
-drl
|
Post #176,202
9/24/04 12:48:02 PM
|
OT Going to see Cards v Rockies tonight :)
Fireworks game at Coors Field, got 5th row directly behind the plate. My son doesn't know we're going yet, I can't wait to surprise him :)
-- Steve
|
Post #176,215
9/24/04 1:25:53 PM
|
Re: OT Going to see Cards v Rockies tonight :)
My head is a planetoid. I had to go to three different sports shops to find one to go around it. 7 3/4! If you ever want to find me, look for the gravitational lensing!
-drl
|
Post #176,227
9/24/04 2:03:29 PM
|
Religion for you, maybe...
Physical fact for me. I have vertically doubled vision. Putting the braces on separate lines makes code much more readable for me.
HTH. ;-)
Regards,
-scott anderson
"Welcome to Rivendell, Mr. Anderson..."
|
Post #176,234
9/24/04 2:27:13 PM
|
Just remember:
Whitespace is cheap!...there's enough for everybody! Don't worry about using too much, you won't run out....
jb4 shrub\ufffdbish (Am., from shrub + rubbish, after the derisive name for America's 43 president; 2003) n. 1. a form of nonsensical political doubletalk wherein the speaker attempts to defend the indefensible by lying, obfuscation, or otherwise misstating the facts; GIBBERISH. 2. any of a collection of utterances from America's putative 43rd president. cf. BULLSHIT
|
Post #176,233
9/24/04 2:25:39 PM
|
Ding!
jb4 shrub\ufffdbish (Am., from shrub + rubbish, after the derisive name for America's 43 president; 2003) n. 1. a form of nonsensical political doubletalk wherein the speaker attempts to defend the indefensible by lying, obfuscation, or otherwise misstating the facts; GIBBERISH. 2. any of a collection of utterances from America's putative 43rd president. cf. BULLSHIT
|