Comment on Google’s recruiting system is famously brutal. Many workers think it’s failingparentComments−dolni4yI almost wonder if he was really looking for an objection to that proposalNah, he wasn't. Near the end of our time slot, he shared the behavior of open() with me (that's how I learned about it).I told him that doing it that way was silly, because it made the code's intent less clear. He didn't seem impressed.−fanf24yAnother point on your side is that close(); open(); is racy in threaded programs: to avoid the races you need to use dup2(), but that still has caveats related to losing errors from close().
Comments
Nah, he wasn't. Near the end of our time slot, he shared the behavior of open() with me (that's how I learned about it).
I told him that doing it that way was silly, because it made the code's intent less clear. He didn't seem impressed.
Another point on your side is that close(); open(); is racy in threaded programs: to avoid the races you need to use dup2(), but that still has caveats related to losing errors from close().