It seems like commenters here on HN are caught on the point that GDB does provide a reasonable machine interface. That's not the author's point; responding specifically to that fact is missing the forest for one mis-labeled non-tree. Here's two paragraphs from later on that sum much better: > We've seen it hundreds of times in all kinds of software. Functions that return bool instead of an error code. Where did the p…
However, I guess I'm not clear about the argument as a whole. The author is essentially claiming, "We write wrappers that are shoddy in that they don't consider failure cases."
That is true. What the author doesn't address is: what's the solution?
If the answer is "Code better," or "Think more," I feel like that's a straw-man.
I think the real question is how can we make a wrapper (e.g. a complex setup script) provide visibility into its problems (permissions issue, harddrive space, network issue, etc) without doubling the work involved?