Re:The Case Against OOP Is Wildly Overstated
by nostrademons on Friday July 31, 2020 @04:19PM
(#24013471)
It's the consensus among languages, but I've got a pretty large collection of application code that does need to partially initialize in passes, and there's also a fairly long list of escape hatches in languages (eg. lateinit in Kotlin, friend in C++, builder pattern in Java) to let you do this. Languages are supposed to capture common patterns; I'd argue this is a common pattern that isn't captured all that conveniently by existing language mechanisms, though a number have tried.
[ Parent
| on HN ]
There are no comments on this comment yet.