3 ms·
It’s a term borrowed from C++, a “zero cost abstraction.” Some folks use “zero overhead abstraction” to try and make the concept a bit more clear, since everyt
by steveklabnik 4y ago
It’s a term borrowed from C++, a “zero cost abstraction.”
Some folks use “zero overhead abstraction” to try and make the concept a bit more clear, since everything has some cost somewhere. “Zero cost” can feel incorrect.
- chrsjxn 4y agoThat makes more sense. Thanks! Creating and adding DOM nodes is definitely not free, but I can see how this is very low overhead compared to VDOM diffing.
- steveklabnik 4y agoNo problem. Here's the primary source, by the way: https://isocpp.org/wiki/faq/big-picture#zero-overhead-principle https://isocpp.org/wiki/faq/big-picture#zero-overhead-princi... > What you don’t use, you don’t pay for (in time or space) and further: What you do use, you couldn’t hand code any better.