3 ms·
Quoting myself from the lobste.rs thread[0]: >> No matter how good the interface is, it’s almost certain this will never hit Linux in the next 5-10 years. It’s
by gnuvince 11y ago
Quoting myself from the lobste.rs thread[0]:
>> No matter how good the interface is, it’s almost certain this will never hit Linux in the next 5-10 years. It’s not because the interface is bad, but because the glibc-devs and other people are scared of simple and straight-forward interfaces, rather not doing anything than implementing an interface which handles the general case rather than trying to cover the 0.5% of edge cases, being complex and bloated.
> This is such a tough lesson to learn and to apply. I still fail at it most of the time in my own code, thinking up the weirdest edge cases possible that I need to handle rather than making the 99% case nice and simple.
I'm a CS grad student, I've worked in the industry before, and I am 100% guilty of sometimes dismissing a nice and simple solution because the perfectionist in me is annoyed that an edge case takes O(n^2) or that the algorithm won't give the optimal answer in some pretty rare circumstances.
[0] https://lobste.rs/s/4jlaod/tame_-_bad_kitty_no_socket_for_you https://lobste.rs/s/4jlaod/tame_-_bad_kitty_no_socket_for_yo...