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

> Similarly, there is the NSFW comparison between Plan 9’s cat and GNU coreutils’ cat [3].

You know, if there was a SFW version, it would be nicely illuminating about the complexity for getting similar stuff done and handling edge cases and whatnot.

That said, I think the Plan 9 version could use a few comments to decrease the cognitive load, since individual bits of code felt more approachable to me in the GNU version.

Though with the code itself being shorter, one liners or even just a few lines at the top of the function definition could be sufficient.



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

Search: