OG was right all along
-
At least I think I'm referring to OG. I vaguely recall defending the K&R indentation style with OG pointing me why he thought Allman to be better. A handful of years later and several projects where Allman style was mandated by coding rules it actually became my new indentation style, mostly for the reasons OG pointed to me (easier to see the nesting level of constructs, better block separation, easier manipulation of the condition statement regardless of the operation done in the block).
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
If I recall correctly, OG is a fan of Wintersmith
Wrong is evil and must be defeated. - Jeff Ello
-
If I recall correctly, OG is a fan of Wintersmith
Wrong is evil and must be defeated. - Jeff Ello
Well, it was a good album, and an excellent pTerry book ... :-D
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
-
Well, it was a good album, and an excellent pTerry book ... :-D
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
:) I suppose you're a fan of whitesmith as well.
Wrong is evil and must be defeated. - Jeff Ello
-
Well, it was a good album, and an excellent pTerry book ... :-D
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
-
At least I think I'm referring to OG. I vaguely recall defending the K&R indentation style with OG pointing me why he thought Allman to be better. A handful of years later and several projects where Allman style was mandated by coding rules it actually became my new indentation style, mostly for the reasons OG pointed to me (easier to see the nesting level of constructs, better block separation, easier manipulation of the condition statement regardless of the operation done in the block).
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
Don't you know what this will do to Griff's ego if you publicly declare him "right all along". :sigh:
-
I use Allman because I often find that horizontal space is wasted and vertical space is used miserly. A condition is important, so it should stand out and be easy to read, and putting the left brace on the next line helps with that.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.Vertical space means I can make notes and such.
-
Vertical space means I can make notes and such.
Notes where, on your fanfold printout?! :laugh:
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing. -
At least I think I'm referring to OG. I vaguely recall defending the K&R indentation style with OG pointing me why he thought Allman to be better. A handful of years later and several projects where Allman style was mandated by coding rules it actually became my new indentation style, mostly for the reasons OG pointed to me (easier to see the nesting level of constructs, better block separation, easier manipulation of the condition statement regardless of the operation done in the block).
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
-
Notes where, on your fanfold printout?! :laugh:
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.Pshaw! Legal-sized sheets, half-inch margins, duh.
-
Pshaw! Legal-sized sheets, half-inch margins, duh.
I don't remember the last time I printed code off! My guess would be 1999. :laugh:
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing. -
I agree completely, whoever came up with K&R style ( probably K&R ) were out of their mind, no matter whatever other brilliant stuff they came up with. What could be better than:
{ // this is where we do stuff for whatever reason
...
...
}Their 8-space (tab) indentation is worse. Despicable, in fact.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing. -
Their 8-space (tab) indentation is worse. Despicable, in fact.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing. -
Don't you know what this will do to Griff's ego if you publicly declare him "right all along". :sigh:
It's cool - I don't believe a word of it! :laugh:
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
-
I miss TP - and I'm not talking about tp.
- I would love to change the world, but they won’t give me the source code.
You'd miss tp as well if it were gone.
Wrong is evil and must be defeated. - Jeff Ello
-
It's cool - I don't believe a word of it! :laugh:
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
Riiiight...
-
At least I think I'm referring to OG. I vaguely recall defending the K&R indentation style with OG pointing me why he thought Allman to be better. A handful of years later and several projects where Allman style was mandated by coding rules it actually became my new indentation style, mostly for the reasons OG pointed to me (easier to see the nesting level of constructs, better block separation, easier manipulation of the condition statement regardless of the operation done in the block).
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
-
At least I think I'm referring to OG. I vaguely recall defending the K&R indentation style with OG pointing me why he thought Allman to be better. A handful of years later and several projects where Allman style was mandated by coding rules it actually became my new indentation style, mostly for the reasons OG pointed to me (easier to see the nesting level of constructs, better block separation, easier manipulation of the condition statement regardless of the operation done in the block).
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
Allman all the way, for me. "White space" is cheap, now ... compared to when "real programmers don't eat quiche." [^]
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
-
At least I think I'm referring to OG. I vaguely recall defending the K&R indentation style with OG pointing me why he thought Allman to be better. A handful of years later and several projects where Allman style was mandated by coding rules it actually became my new indentation style, mostly for the reasons OG pointed to me (easier to see the nesting level of constructs, better block separation, easier manipulation of the condition statement regardless of the operation done in the block).
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
Ah, it's been so long since we had a braces war ;) Allman style is awesome, K&R is fugly X| But I like Python even better, where indentation determines scope.
Cheers, Vikram.
-
Their 8-space (tab) indentation is worse. Despicable, in fact.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.Greg Utas wrote:
Despicable, in fact
The word 'despicable' is a moral judgment. Given that they invented the brace style at the same time they invented the C programming language, and tabs were 8 spaces wide because of teletypes and other such hardware, a little bit of understanding might be in order.
Software Zen:
delete this;
-
Ah, it's been so long since we had a braces war ;) Allman style is awesome, K&R is fugly X| But I like Python even better, where indentation determines scope.
Cheers, Vikram.
Vikram A Punathambekar wrote:
I like Python even better, where indentation determines scope
You just like to sit back and watch the world burn, don't you? :-D
Software Zen:
delete this;