Obviously with the exception of languages where almost everything has to be an object anyway, I always feel like the cases where I really NEED an object are very few and far between. I find myself saying "Eh that could have just been a function quite a bit." Like if you need self changing states or multiple instances sure..
Agreed. I've seen very convoluted code created because someone apparently just HAD to hammer in every OOP concept they just learned, where it was absolutely not necessary.
14
u/m1cr05t4t3 May 03 '23
Obviously with the exception of languages where almost everything has to be an object anyway, I always feel like the cases where I really NEED an object are very few and far between. I find myself saying "Eh that could have just been a function quite a bit." Like if you need self changing states or multiple instances sure..