Hacker News new | ask | show | jobs
by hiddew 326 days ago
Totally agree. And even the overhead of construction/destruction can be avoided in runtime for languages with inline types (e.g. https://kotlinlang.org/docs/inline-classes.html).