News for hackers. Stuff that matters.
Re:Type Erasure in C++ Explained by slver on Thursday April 15, 2021 @01:22PM (#26823459)
Indirection is the price of scale. As a system grows, you need breaking points, boundaries. These often result in adding one more level of indirection.

But we're also moving in the other direction, for example Java is introducing value types ("inline classes") and low-level memory allocation/manipulation APIs. That's a big step for a language that started with the idea of everything is an object (and an object is an indirection).

Re:Type Erasure in C++ Explained by rwoerz on Thursday April 15, 2021 @03:13PM (#26824915)
I would call indirection the price for abstraction.