3 ms·
But you do learn from such things (opening a file, reading from the network). All the stuff that can go wrong, and that it all has to be handled. Like writing a
by mturmon 4y ago
But you do learn from such things (opening a file, reading from the network). All the stuff that can go wrong, and that it all has to be handled. Like writing a device driver.
It’s useful to write that C code, and then try to break it (e.g., to force a segfault rather than a proper error-then-exit).
Is knowing all that necessary? No, as you are kind of implying. ;-)