"Zero cost" does not mean that there is no downside or drawback; it means that it is implemented in such a way that you do not lose performance compared to writing the same behavior without the abstraction. I agree that programming is often the art of telling a computer _how_...
-
-
But the term "zero cost" should be retired because it gives people (especially those that don't know how to look at compiler output!) a false sense of security that they are not creating inefficient programs by employing a particular feature, when often times they actually are.
-
It doesn't necessarily mean they should do that, because maybe they don't have time / aren't capable of / etc. doing the optimal thing. But there's a difference between _choosing_ to make inefficient code, and _not knowing_ you made inefficient code.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.