News for hackers. Stuff that matters.
[dead]
Re:OO in Python is mostly pointless by janosett on Thursday January 28, 2021 @03:54AM (#25939720)
I agree, OO can be useful and this article doesn't add much to the conversation of when stateful objects and inheritance are the best choice vs. functions and composition vs. some hybrid.

That said, please consider the community guidelines:

"When disagreeing, please reply to the argument instead of calling names."

Re:OO in Python is mostly pointless by okamiueru on Thursday January 28, 2021 @04:52AM (#25940054)
In this case, I don't see how he is name calling. It's a bit harsh, but he isn't replying to an argument. He's clearly stating his own opinion on the matter. Hacker news shouldn't devolve into click bait titles of age old questions.

"Tabs vs spaces. A clear winner in productivity"

"Common programming paradigm somehow useless - Says this person"

And on and on. It's the mild version of shock journalism. It reaches exposure here, not because of the intellectual merit, but the contentious nature. Maybe not narcissistic, but certainly attention seeking.

Re:OO in Python is mostly pointless by chriszhang on Thursday January 28, 2021 @05:02AM (#25940108)
Calling someone a "narcissist" is clearly name calling.

I did not find anything narcissistic in the OP's post. It is a controversial topic but nothing about it came off as narcissistic.

Re:OO in Python is mostly pointless by okamiueru on Thursday January 28, 2021 @01:51PM (#25946923)
I won't presume to know the intention behind the original comment that is now removed, and I did feel it went a bit too far in how harsh it was. It would also be presumptive to know what the article writer had in mind as well.

That said, and this might be an age thing, I'm not sure. When I see these computer science concepts and constructs that were figured out half a decade ago or more, which have their particular usefulness and limitations. It is hard for me to believe intellectual honesty motivating those kinds of posts.

It's the same recipe. Take something trivial, well understood, and write a post with a title that suggests something highly opinionated, and possibly contrary to what the reader might have experienced themselves. Then explain how in some use case, it doesn't fit very well. Then, maybe for the kicks of it, walk back on the original "click-baity" statement that got people to read it to begin with. And wrap it up as if there some deeper or more profound knowledge to be gained.

I will admit, I haven't read the article, because my bullshit detector started ringing. When you've seen a hundred of these, you don't need to read one more. But I'll take a quick look now, for the sake of it. Yes, pretty much the same recipe as I mentioned. Perhaps slightly less pointless than I had expected.

Re:OO in Python is mostly pointless by okamiueru on Thursday January 28, 2021 @04:01PM (#25949139)
Edit: Half a century, not decade. Also, here is another comment to downvote, I suppose.
Re:OO in Python is mostly pointless by detaro on Thursday January 28, 2021 @05:01AM (#25940098)
> attention-seeking narcissist

Is not name calling?

Re:OO in Python is mostly pointless by curyous on Thursday January 28, 2021 @04:36AM (#25939971)
I disagree. OO has been in use for decades, and I don't think the industry is experiencing benefits anywhere near its costs.
Re:OO in Python is mostly pointless by chriszhang on Thursday January 28, 2021 @04:49AM (#25940041)
> Please, post your clickbait bullshit somewhere else.

This is needlessly insulting and aggressive. Flagged.

Re:OO in Python is mostly pointless by leontrolski on Thursday January 28, 2021 @04:05AM (#25939789)
Hi, thanks for the comment. Given the number of _feelings_ in these threads, I'd really like to test my conjecture - if you'd be able to email me a (< 500 line, ideally not super-deep-library-code) bit of code (constructed or otherwise) that you think is "so innately OO friendly that the conjecture won't hold", I'll do a follow-up blog post. Thanks!
Re:OO in Python is mostly pointless by chriszhang on Thursday January 28, 2021 @04:57AM (#25940072)
> thanks for the comment

There is really no need to be respond nicely to someone hiding behind their anonymity and calling you names and throwing personal attacks at you. Your parent comment's account should simply be flagged and banned.

Re:OO in Python is mostly pointless by TurboHaskal on Thursday January 28, 2021 @04:30AM (#25939932)
It is 2021. Criticizing OOP is preaching to the choir.
Re:OO in Python is mostly pointless by monk_e_boy on Thursday January 28, 2021 @04:40AM (#25939991)
This. We teach coding, we start with logic, then move onto functions, then OOP, then patterns, then back to functional. Then it's up to the student or the business to make a choice. Saying that you don't think OOP is as good as functional programming is like, part of the course. Some people like it, some don't, most mix and match. 90% don't care enough to write blog posts.

The blog post feels like a short essay I may get from a student. shrug .... there's lots of nice research on the order in which to teach the elements of programming, lots of people say start with OOP and then do functions, as that's the more natural progression. Personally I disagree and teach it the way I described. But both are valid.

Re:OO in Python is mostly pointless by jsilence on Thursday January 28, 2021 @04:42AM (#25940007)
As someone without any particular bias towards one or the other it was interesting to see a simple example broken down in both styles and discussed.

So: Thanks for the article. Appreciated.