|
I don't remember the last time I printed code off! My guess would be 1999.
|
|
|
|
|
I don't print my code, but I've printed inherited code on 11x17 paper with narrow margins, as I had to physically diagram it to figure out what it was doing ... 9 sheets in portrait mode using Courier 9 point.
In some cultures, a test of worthiness is going into battle. In IT? It's figuring out inherited code.
|
|
|
|
|
Quote: I had to physically diagram it to figure out what it was doing What happened to the original author?! That should have been job security! If I inherited that code, I'd have him renditioned and put under bright lights until that code got explained.
|
|
|
|
|
Greg Utas wrote: What happened to the original author?! That should have been job security! If I inherited that code, I'd have him renditioned and put under bright lights until that code got explained. Dead men don't tell tales ...
He retired then died a week later.
|
|
|
|
|
I actually wondered if that might be the explanation.
My guess is that code evolved many times, with no one having the inclination to restructure it.
|
|
|
|
|
My _132 column_ fanfold printout ( don'tcha miss the green stripes? ) plenty of room for comments after column 80.
But I don't miss being near the chain printer.
|
|
|
|
|
If I recall correctly, OG is a fan of Wintersmith
|
|
|
|
|
Well, it was a good album, and an excellent pTerry book ...
"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.
|
|
|
|
|
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.
|
|
|
|
|
|
Don't you know what this will do to Griff's ego if you publicly declare him "right all along".
|
|
|
|
|
It's cool - I don't believe a word of it!
"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 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:
{
...
...
}
|
|
|
|
|
Their 8-space (tab) indentation is worse. Despicable, in fact.
|
|
|
|
|
I didn't know about that one but yes 'despicable' would be the only valid term I can imagine.
|
|
|
|
|
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;
|
|
|
|
|
I've been known to indulge in hyperbole.
|
|
|
|
|
I prefer parabole myself, but toe-may-toe, toe-mah-toe...
Software Zen: delete this;
|
|
|
|
|
It WAS Griff, and me! But methinks he was advocating Whitesmith's
Indentation style - Wikipedia[^]
if(this->aintUgly())
{
thenWhatIs(); }
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
Ugh, workable but I don't like it
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
|
|
|
|
|
Ah, it's been so long since we had a braces war
Allman style is awesome, K&R is fugly
But I like Python even better, where indentation determines scope.
Cheers,
Vikram.
|
|
|
|