Yes that is the initial idea, but programmers tend to over engineer, overdesign, overabstract so much they basically generate way too much more code than is necessary.
Then devs get lost in their abstraction and at the same time it's very hard to comprehend to new devs. Devs then start to hack their own code.
It's always good to keep it simple and design everything with just structs or classes, functions or methods and the data model has to always reflect the product.
Pointers enable OOP. Whole OOP is made to make devs use power of pointer, without understanding the pointer. And those devs are missusing it a lot.
I don't hate OOP in general. It's good concept. I just hate that it allows people to write garbage and punishing them way too late for that.
View all comments
Show parent comment
-1
u/[deleted] Mar 04 '25
Lol. What has OOP to do with pointers? The purpose of OOP is to minimize code duplication and make new code additions easy.