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

This is why Linus' code shouldn't be copied verbatim and used in the real world. The Kernel is an extremely isolated and contained system.

At the very least, the code should add comments on the the assumptions that are vital...otherwise n00bs will copy the code as gospel and run into all sorts of problems.



The actual code in the kernel is well documented (and different, lines 103-149): https://github.com/torvalds/linux/blob/master/include/linux/...




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

Search: