2 ms·
OO in itself is not bad But of course some people want to create 10 level class hierarchies, replace every 'if' with a subtype and using design patterns ate ev
by raverbashing 11y ago
OO in itself is not bad
But of course some people want to create 10 level class hierarchies, replace every 'if' with a subtype and using design patterns ate every occasion (especially the factory, so instead of writing 1 or 2 they will have a OneIntegerFactory, a TwoIntegerFactory, etc)
One advantage into Go for example is that it reduces the potential of misuse of "OO happy" people
- notinreallife 11y agoMy guess is that most "OOP-happy" people never get a chance to see beautiful procedural code so they're just afraid of it. A lot of developers nowadays are trained to smite any code that isn't following OOP principles or design.
- nibnib 11y agoNot necessarily afraid, possibly just unfamiliar. I can remember programming like this because C++ was the first language I knew well and I was interested in using all the available features. In my mind that was just how things were done. When I had more of an incentive to just Get Stuff Done and keep things maintainable simpler procedural code made a lot more sense.