Re:Ask HN: Where do I find good code to read?
by butterNaN on Thursday August 24, 2023 @09:59AM
(#37248869)
The popular OOP seems to be exactly the opposite of what OOP was meant to be. If you get into the original intentions, it honestly starts to sound more like FP.
[ Parent
| on HN ]
Re:Ask HN: Where do I find good code to read?
by ecshafer on Thursday August 24, 2023 @10:36AM
(#37249222)
Absolutely agree.
Popular OOP passes Structs around (they just call them records or POJOs or whatever) through a bunch of "classes" that do x. But you could rewrite the code from Java or C# or C++ into C or Cobol and it basically is the same. Its just imperative code with classes as a nice way of getting rid of globals.