News for hackers. Stuff that matters.
Re:A C Heisenbug in the wild by to3m on Monday June 13, 2011 @11:27AM (#2649339)
No, that's a fair comment. I have spent a surprising proportion of the past 10 years moving initialization calls from <random problem-causing place> into `main', so whenever I see a call to something like `someinitialization' I just assume it's in `main' along with all of the rest of them.

But it could easily be somewhere creepy and random, and the side-effects a bit hard to spot, making it harder to find.

(Which, of course, is why you should always put all of this stuff in `main' ;)

There are no comments on this comment yet.