Re:Ask HN: Concepts that clicked only years after you first ...
by monero-xmr on Sunday January 01, 2023 @12:13PM
(#34208226)
If you work on a legacy code base with tens of many millions of lines of code, the non-OOP will be a better code base. My opinion.
Using a totally non-OOP functional style, you can either instantiate state within a function or pass it in from the calling context, which is the same trade-off that dependency injection targets.