3 ms·
Classes are basically namespaces, and trivial code doesn't need them, but quickly you do. A lot of the criticisms being leveled here at oop actually me questio
by AtlasBarfed 3y ago
Classes are basically namespaces, and trivial code doesn't need them, but quickly you do.
A lot of the criticisms being leveled here at oop actually me question their programming experience. There are many valid criticisms, but not a lot levelled here.
- __MatrixMan__ 3y agoIf all you're doing is using classes as superfluous namespacing, we'll that's hardly a threat. It's when they start having superfluous constructors that you're on a dark path. I once knew a guy who had a when-in-doubt-make-it-a-singleton habit, it was maddening to write tests anywhere near him. Obviously that's an amateur move (and being an amateur myself I didn't have the confidence to show him a better way). But then it's never the skilled practitioners that make something look bad anyway.