3 ms·
In my years of programming, I have yet to stumble on a other programer who even knows that one should be doing this That's a bold statement. Nice to meet ya!
by davvid 14y ago
In my years of programming, I have yet to stumble on a other programer who even knows that one should be doing this
That's a bold statement. Nice to meet ya! I'm no PC-Luser! ;-)
The PC-lusering problem is mentioned in "worse is better", so I would hope a fair number of folks know about it. Every good code base I've seen uses EINTR wrappers, but it is true that many folks I've met don't know about it.
Hey now.. it's not just C programmers, though. We have to use the same EINTR-retry loops in python too, sometimes:
https://github.com/git-cola/git-cola/blob/master/cola/decorators.py#L62 https://github.com/git-cola/git-cola/blob/master/cola/decora...
I like C, Python, and Go. There's no reason to take sides, IMO. These are all highly effective tools.