Posted Nov 3, 2011 21:52 UTC (Thu) by nix (subscriber, #2304)
In reply to: Quote of the week by felixfix
Parent article: Quote of the week
Yeah, on rereading I think I'm overreacting. It's overspill from the terrifyingly uncommented code I'm handling at work I think :) (why yes, of *course* the right number of comments in a compiler's entire code generator is zero.)
Posted Nov 5, 2011 2:05 UTC (Sat) by pflugstad (subscriber, #224)
[Link]
Frankly, I'd rather have zero comments vs the 150+ lines of inane comments like:
/*
* Purpose
* loop counter
*
*/
int i;
in EVERY function...
And, just to make it clear the state of this code, this user space application has 51,000+ mutexes in it. Two threads. Yes, that is NOT a typo - 51,000.
Quote of the week
Posted Nov 6, 2011 1:01 UTC (Sun) by valyala (guest, #41196)
[Link]
A mutex per hash table bucket?
Quote of the week
Posted Nov 6, 2011 4:16 UTC (Sun) by pflugstad (subscriber, #224)
[Link]