News for hackers. Stuff that matters.
Re:All evidence points to OOP being bullshit (2013) by sklogic on Thursday August 27, 2015 @07:49AM (#10128841)
> it really can help you to lower the complexity of programs

Yet to be proven. I never seen a single example of OOP bringing anything but more unnecessary complexity.

Re:All evidence points to OOP being bullshit (2013) by PythonicAlpha on Thursday August 27, 2015 @08:29AM (#10128975)
Than you might not have seen good OOP designs. My experience is different -- when you really apply good OOP design to software, you can reduce complexity and come to a clearer overall design. But of course the typical 5 day Java or C++ course will not get you there. You must learn to think in OOP -- and that is a process that might take years.
Re:All evidence points to OOP being bullshit (2013) by sklogic on Thursday August 27, 2015 @11:46AM (#10130097)
Could you please point to a classic example of a good OOP design, where it is clear that OOP made it simpler.
[deleted]
Re:All evidence points to OOP being bullshit (2013) by sklogic on Thursday August 27, 2015 @12:05PM (#10130234)
You sound like a religious adept. Open your eyes, just see the truth, blah-blah-blah.

I asked for a very simple thing - a piece of code which is easy, robust and maintainable because of its use of OOP. All of the qualities are objective and easy to measure, regardless of your philosophy. There must be at leat some examples of this. If they do not exist, then your claims that OOP eliminates complexity are nothing but religion, not backed by any evidence at all.

Re:All evidence points to OOP being bullshit (2013) by mcphage on Thursday August 27, 2015 @02:06PM (#10131015)
> I asked for a very simple thing - a piece of code which is easy, robust and maintainable because of its use of OOP. All of the qualities are objective and easy to measure, regardless of your philosophy.

How is that a simple thing? What are you looking for? If I showed you a piece of code which was I said was simple, robust, and maintainable, how would you know whether it's true or not, unless you know the language, the problem it's intended to solve, and have a personal history of maintaining it?

No, you're asking a question with no possible answer, and then intended to use that lack as proof in your own mind.

Re:All evidence points to OOP being bullshit (2013) by sklogic on Friday August 28, 2015 @05:37AM (#10134486)
I was looking for objectively measurable parameters. Lines of code, depth of nested constructs, average number of entities per functional block, code to documentation ratio, test coverage, bug history. Anything that can be expressed in numbers and does not depend on subjective views.
[deleted]
Re:All evidence points to OOP being bullshit (2013) by dang on Thursday August 27, 2015 @01:17PM (#10130714)
Please stop, both of you.
Re:All evidence points to OOP being bullshit (2013) by minthd on Thursday August 27, 2015 @11:37AM (#10130043)
What books will get you there?
[deleted]
Re:All evidence points to OOP being bullshit (2013) by sklogic on Thursday August 27, 2015 @12:02PM (#10130216)
And how exactly patterns make life easier? Most of the classic OOP patterns are nothing but workarounds for the complexities introduced by using the OOP in the first place. Without OOP these problems would not exist at all.

Why people are so keen on solving problems they just created for no good reason at all?

Re:All evidence points to OOP being bullshit (2013) by lambda_ronin on Thursday August 27, 2015 @12:10PM (#10130261)
"For example, in the OO world you hear a good deal about "patterns". I wonder if these patterns are not sometimes evidence of case (c), the human compiler, at work. When I see patterns in my programs, I consider it a sign of trouble. The shape of a program should reflect only the problem it needs to solve. Any other regularity in the code is a sign, to me at least, that I'm using abstractions that aren't powerful enough - often that I'm generating by hand the expansions of some macro that I need to write." from http://www.paulgraham.com/icad.html