6 ms·
> With proper error handling, that's about 50 lines of C code. Writing proper error handling in C is a very tedious and error prone task. So it doesn't surpris
by bdd8f1df777b 3y ago
> With proper error handling, that's about 50 lines of C code.
Writing proper error handling in C is a very tedious and error prone task. So it doesn't surprise me that people would rather call another library instead.
- TacticalCoder 3y ago> So it doesn't surprise me that people would rather call another library instead. Which shall be harder to justify now: "You're calling a gigantic library full of potential security holes just to call one function, to save writing a few lines of code, are you trying to JIA TAN the project?".
- shiomiru 3y ago> Writing proper error handling in C is a very tedious and error prone task. Managing C dependencies is even more tedious and error prone. And even in C, opening a UNIX domain socket to write a single packet is not that hard.
- account42 3y agoYou think error handling for a socket connection + send is outside the capabilities of those developing sshd?
- bdd8f1df777b 3y agoYou think every time people call an external library to save their effort is a proof of their lack of capabilities?