in reply to Clever vs. Readable
There's an awful lot of TheDamian's opinion in PBP that I disagree with, but in this case he's absolutely spot on.
Clarification: What I meant by the above was that readable beats clever every time. I didn't mean to suggest that min() should be used to find the minimum of two values. I'd use the ternary operator just as BrowserUK suggested.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Clever vs. Readable
by shmem (Chancellor) on Aug 09, 2008 at 23:14 UTC | |
by Porculus (Hermit) on Aug 10, 2008 at 11:30 UTC |