Re:Ask YC: Fewer lines of clever code or more lines of clear...
by sigstoat on Sunday June 22, 2008 @05:39PM
(#224441)
put back the intermediate variables. just because you don't name them doesn't mean the compiler doesn't have to store temporary results. you might as well give them names so the next person can read this.
[ Parent
| on HN ]
Re:Ask YC: Fewer lines of clever code or more lines of clear...
by bprater on Sunday June 22, 2008 @09:20PM
(#224573)
Agreed, that's the biggest issue with clever code. I'm easily tempted to do it too.
But mashing everything together into a big lump just makes for a exhausting debugging session in six months.