I don't think that's what the parent was complaining about, it was more about handling signals correctly. It's incredibly easy to write buggy signal handlers on a Linux system. The "self-pipe" trick[1], and later, signalfd(2) have made signal handling much easier, but a lot of programs still do it the old way.
Type checking and calling help methods can be useful for debuggability! If you want to figure out what you're looking at in string format, call its .ToString method.
sleepydog|8 years ago
[1]: http://cr.yp.to/docs/selfpipe.html [2]: http://man7.org/linux/man-pages/man2/signalfd.2.html
vardump|8 years ago
reificator|8 years ago
unknown|8 years ago
[deleted]
unknown|8 years ago
[deleted]
msla|8 years ago
That can't be very good for debuggability.
pzone|8 years ago