News for hackers. Stuff that matters.
Re:All evidence points to OOP being bullshit (2013) by bhaak on Thursday August 27, 2015 @06:54AM (#10128615)
> Extremist languages like Java force you to think of everything in terms of objects.

Erm, Java is by far not the most OO programming language there is.

For example, primitive types are not objects (no, auto-boxing doesn't make them objects).

> But is Object Orientation (OO) a good idea?

Probably as good as any other programming paradigma out there.

> Does it have problems?

Sure, like every other language as well.

> Is it the right tool for everything?

No, like every other language isn't as well.

> Let’s explore some of these questions in a slightly tongue in cheek and cathartic rant.

And here I stopped reading. If you need to rant, do it over coffee and don't waste my time when even your introduction is not witty enough to keep my interest.

Re:All evidence points to OOP being bullshit (2013) by Loque on Thursday August 27, 2015 @07:30AM (#10128753)
My sentiments exactly, kinda surprised this title made it so high up!

OOP has some fantastic applications and may have been oversold to the author for a project he worked on. OOP(s)!

Re:All evidence points to OOP being bullshit (2013) by sklogic on Thursday August 27, 2015 @07:37AM (#10128788)
> OOP has some fantastic applications

Yes, OOP is great for agent-based simulations. Only. This is a fantastic, exciting area, but it is extremely niche and tiny.

Anywhere else, OOP is nothing but an obstacle.

Re:All evidence points to OOP being bullshit (2013) by tim333 on Thursday August 27, 2015 @07:56AM (#10128865)
It's kind handy for using other peoples code. Like if you want a couple of Google maps on your page you can create a couple of map objects and set their location, colouring, add and remove markers etc. I'm not sure how you'd do that neatly without objects. Beyond that I'm happy without it.
Re:All evidence points to OOP being bullshit (2013) by muzmath on Thursday August 27, 2015 @09:27AM (#10129191)
I don't think anyone is saying don't use objects, it's the OOP paradigm that is being critiqued.
Re:All evidence points to OOP being bullshit (2013) by sklogic on Thursday August 27, 2015 @11:48AM (#10130111)
> It's kind handy for using other peoples code.

The heavily OOP libraries with deep hierarchies are the least pleasant to use. With all those horrible enterprisey FactoryFactoryFactoryFactories, etc.

Flat, fluent, ideally DSLish APIs are much easier to use.

Re:All evidence points to OOP being bullshit (2013) by excepttheweasel on Thursday August 27, 2015 @10:08AM (#10129453)
> For example, primitive types are not objects (no, auto-boxing doesn't make them objects).

Does the presence of inline assembler make C++ a machine language? I don't think so. Similarly I don't think the presence of primitives in Java make it less of an OO language. They're a leaky abstraction meant to improve the language's performance, which arguably make the language less ergonomic to use.

Re:All evidence points to OOP being bullshit (2013) by JoeAltmaier on Thursday August 27, 2015 @07:58AM (#10128875)
App guy, clearly. Doesn't need to do anything more than once. Has libraries to do the rest (who wrote those? how were they designed?)
Re:All evidence points to OOP being bullshit (2013) by excepttheweasel on Thursday August 27, 2015 @10:05AM (#10129435)
Until working at Pivotal I had been working for about 5 years in various non-app industries: transport, signals monitoring, databases etc. Libraries? Not really, we mostly wrote everything ourselves - at one position, even an entire operating system.
Re:All evidence points to OOP being bullshit (2013) by JoeAltmaier on Thursday August 27, 2015 @10:34AM (#10129652)
I stand corrected.
Re:All evidence points to OOP being bullshit (2013) by pvdebbe on Thursday August 27, 2015 @07:28AM (#10128743)
I think Java can be classified as an "extremist OOP" language because it doesn't really support self-standing functions.
Re:All evidence points to OOP being bullshit (2013) by benihana on Thursday August 27, 2015 @07:34AM (#10128770)
Skip the fluffy blog and just watch Zed's talk linked to in the first paragraph. Whether you agree or disagree, he at least lays out some valid points (in his typical "this sucks, fuck you" style). That talk made me think a lot more than this blog post did.

https://vimeo.com/43380467

Re:All evidence points to OOP being bullshit (2013) by hacker_9 on Thursday August 27, 2015 @08:47AM (#10129046)
Good talk and I agree with all his points. Perhaps WebAssembly will pave the way.