Comments on: Object Oriented Programming is Stupid http://thesopebocks.com/2009/06/14/object-oriented-programming-is-stupid/ Food for thought on topics of programming, philosophy, politics, and a project MGB. Thu, 27 Jan 2011 02:53:45 +0000 hourly 1 http://wordpress.com/ By: unknownmosquito http://thesopebocks.com/2009/06/14/object-oriented-programming-is-stupid/#comment-178 unknownmosquito Sat, 26 Sep 2009 16:00:40 +0000 http://thesopebocks.com/?p=466#comment-178 Patrick, First of all, comments go right to my email, so I get them quickly :P and I'm trying to keep this blog largely anonymous so that I don't have to worry about sticking my foot in my mouth, although if you notice my screenname happening elsewhere on the Internet it is most likely me. I've never signed up for anything and had 'unknownmosquito' be taken. Now then, on topic: I read your post and I certainly agree with you. And I think you're griping along the same vein as me: there are tools for certain situations, and they are best used in the appropriate situations, not just blindly used every time you sit down to write some code. Patrick,
First of all, comments go right to my email, so I get them quickly :P
and I’m trying to keep this blog largely anonymous so that I don’t have to worry about sticking my foot in my mouth, although if you notice my screenname happening elsewhere on the Internet it is most likely me. I’ve never signed up for anything and had ‘unknownmosquito’ be taken.

Now then, on topic:
I read your post and I certainly agree with you. And I think you’re griping along the same vein as me: there are tools for certain situations, and they are best used in the appropriate situations, not just blindly used every time you sit down to write some code.

]]>
By: Patrick Rutkowski http://thesopebocks.com/2009/06/14/object-oriented-programming-is-stupid/#comment-177 Patrick Rutkowski Sat, 26 Sep 2009 09:56:37 +0000 http://thesopebocks.com/?p=466#comment-177 Adding comments, as you mentioned, definitely would have made the procedural version readable. Though I shouldn't restrict that suggestion to the procedural version. Given what you already think about OOP, I wonder if you would take another step in that direction and additionally consider the opinions which I recently voiced here: http://www.rutski89.com/dynamic/journal.html?name=no_exceptions -Patrick P.S. Have you considered posting an E-Mail / AIM Nick / IRC Handle for readers to contact you at? Also, your comment on degree caught my eye: "Maybe I’m wrong. I don’t have a degree yet..." Having intelligence and experience so hugely outweighs the value of having an undergrad degree that it makes me wince whenever I see someone, such as yourself, anticipating attack due to lacking one. Presumably, earning a degree is itself a process of accruing experience, and also of proving that one has intelligence. But I'll leave that argument for other places. Adding comments, as you mentioned, definitely would have made the procedural version readable. Though I shouldn’t restrict that suggestion to the procedural version.

Given what you already think about OOP, I wonder if you would take another step in that direction and additionally consider the opinions which I recently voiced here:

http://www.rutski89.com/dynamic/journal.html?name=no_exceptions

-Patrick

P.S.
Have you considered posting an E-Mail / AIM Nick / IRC Handle for readers to contact you at?

Also, your comment on degree caught my eye:
“Maybe I’m wrong. I don’t have a degree yet…”

Having intelligence and experience so hugely outweighs the value of having an undergrad degree that it makes me wince whenever I see someone, such as yourself, anticipating attack due to lacking one.

Presumably, earning a degree is itself a process of accruing experience, and also of proving that one has intelligence. But I’ll leave that argument for other places.

]]>
By: Eric Lifka http://thesopebocks.com/2009/06/14/object-oriented-programming-is-stupid/#comment-121 Eric Lifka Wed, 17 Jun 2009 03:10:25 +0000 http://thesopebocks.com/?p=466#comment-121 I agree with you, OO programming is a useful paradigm, but most people seem to think entirely in OO. In languages like Java I guess that's fine, since you can't program any other way, but most languages provide it as a feature, not a requirement, and forcing absolutely everything into an object model is absurd. Most languages provide objects as a feature, not a requirement, and as you said, there's a reason for that. Just because OO is more recent than procedural does not make it absolutely better. I will concede that OO can make huge projects more understandable because everything is modularized and self contained, but the same can be done in C (or any other non OO language) quite easily. But I would brush it off, the close mindedness of other programmers can only lead to your potential gain. (Well, that's not entirely true, but you can certainly play off that in certain situations) -Eric Lifka I agree with you, OO programming is a useful paradigm, but most people seem to think entirely in OO. In languages like Java I guess that’s fine, since you can’t program any other way, but most languages provide it as a feature, not a requirement, and forcing absolutely everything into an object model is absurd. Most languages provide objects as a feature, not a requirement, and as you said, there’s a reason for that. Just because OO is more recent than procedural does not make it absolutely better. I will concede that OO can make huge projects more understandable because everything is modularized and self contained, but the same can be done in C (or any other non OO language) quite easily. But I would brush it off, the close mindedness of other programmers can only lead to your potential gain. (Well, that’s not entirely true, but you can certainly play off that in certain situations)
-Eric Lifka

]]>
By: unknownmosquito http://thesopebocks.com/2009/06/14/object-oriented-programming-is-stupid/#comment-120 unknownmosquito Mon, 15 Jun 2009 01:02:15 +0000 http://thesopebocks.com/?p=466#comment-120 I usually comment more, as I like to make my code succinct and explain in comments. Also, you read this before I was done (I accidentally clicked Publish long before I was ready). Just saying. I usually comment more, as I like to make my code succinct and explain in comments.

Also, you read this before I was done (I accidentally clicked Publish long before I was ready). Just saying.

]]>
By: Anonymous http://thesopebocks.com/2009/06/14/object-oriented-programming-is-stupid/#comment-119 Anonymous Mon, 15 Jun 2009 00:39:04 +0000 http://thesopebocks.com/?p=466#comment-119 You have to admit, even if it didn't require object-oriented features, that code isn't the easiest to read! I just hope you don't write all code like that. Good luck with JORSnix. You have to admit, even if it didn’t require object-oriented features, that code isn’t the easiest to read! I just hope you don’t write all code like that. Good luck with JORSnix.

]]>