Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This. One of the most useful classes I took in undergrad was implementing a scheduler and an I-node disk. Nothing shows you all the ways fork() can fail like having to implement it.

Every system call can fail, even if it doesn't do something obvious like use disk resources. Ignoring this is how subtle bugs appear that seem unreproducible until you implement correct error handling.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: