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!
[ Parent
| on HN ]
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.
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.