3 ms·
I'm with this guy. I'm not much of an OO fan myself. There's too much evangelizing in the tch community. People are out defending their languages, frameworks, s
by billpatrianakos 15y ago
I'm with this guy. I'm not much of an OO fan myself. There's too much evangelizing in the tch community. People are out defending their languages, frameworks, styles, and trying to convert others as if it were a religion. It used to be fun to read about all that but now it's really frustrating as sometimes you can't even have a decent conversation about such topics without people getting overly emotional... Like when you talk about religion.
The reason I mention this is because most people I know do nothing but OO programming and I've seen nothing but people defaulting to either OOP or functional because that's what "good" programmers are supposed to do. I agree with a lot of his points especially the part about the code being convoluted. Sometimes it's harder to figure out what's going on by chasing down classes and their members than it should be.
I'm not afraid to write procedural code at all. I've had people thumb their nose at me for writing procedural code claiming it would be more "elegant" or readable if it was OO. I don't care about elegance and the code is still readable. Their real problem is this snottiness they've developed after learning how program in an OO way. If it works and it works well, and it's maintainable then who gives a damn if it'd OO or procedural or a bunch of include statements linked to files each with a single function in them or something. That's not to say I don't write OO code. I do. When it's the right choice. But when I read an article like this I'm reminded of all the programmers who default to language x, framework x, style x, and platform x because "that's what good programmers do" as if bad programmers don't write OO or functional code. Come on.
- michaelcampbell 15y ago> I don't care about elegance and the code is still readable. Part of code elegance is readability and maintainability. Perhaps this is one of those soft-definitions that everyone has their own meaning for.