4 ms·
Google Cache[1]. Reminds me of that TDWTF post where engineers were paid based on the amount of lines of code they had written - led to massive comment blocks
by RossM 16y ago
Google Cache[1].
Reminds me of that TDWTF post where engineers were paid based on the amount of lines of code they had written - led to massive comment blocks explaining the simplest things ("This is a for loop that works by...").
[1]: http://webcache.googleusercontent.com/search?sourceid=chrome&ie=UTF-8&q=cache:http://folklore.org/StoryView.py%3Fproject%3DMacintosh%26story%3DNegative_2000_Lines_Of_Code.txt http://webcache.googleusercontent.com/search?sourceid=chrome...
- SandB0x 16y agoThere's this one: http://thedailywtf.com/Articles/Productivity-20.aspx http://thedailywtf.com/Articles/Productivity-20.aspx where a guy boosts his line count by writing a program convert loops into goto spaghetti (pretty much like the generated assembly, right?). But has anyone here actually been evaluated in this way? I've never heard about it first hand - it almost seems like an urban legend.
- dennisgorelik 16y agoOnly wusses need comments in order to bloat their code. There are so many "effective" alternatives.
- RossM 16y agoOh yes, if I had it my way we'd all write for loops like so: int i = 0; int count = 20; while( (i < count) && !(i > count) ) { // some code }
- derwiki 16y agoinfinite loops?
- gaius 16y agoIf you want to count lines of C you count semicolons.