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

In CS "garbage" has a bit different sounding, like in "garbage collector". Nonetheless, original poster started it, writing an article "Why Linux scheduler is bad". Next time he'll see it coming.

By the way, Linus' answer is much more informative than yours. I got a lot of useful insights from it and had fun just reading his lively language.



> In CS "garbage" has a bit different sounding, like in "garbage collector".

It's a bit disingenuous to suggest that Torvalds meant it in that sense, though. He very obviously meant it in the sense of a piece of trash that should be thrown into a trash bin.


Or a piece of code that doesn't do anything useful or meaningful and may be skipped by compiler as well.


Compiler warning: Sourcecode classified as "garbage". Replaced with NOP for user protection.


Garbage code sounds like a fine new class of undefined behavior to add to the next C standard. You just need to teach ubsan to understand it.


No, he very clearly meant the definition I suggested.

(Also I've never heard of dead code referred to as "garbage code".)




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

Search: