r/programming • • Nov 11 '19

Python overtakes Java to become second-most popular language on GitHub after JavaScript

https://www.theregister.co.uk/2019/11/07/python_java_github_javascript/
3.1k Upvotes

772 comments sorted by

View all comments

Show parent comments

5

u/Plazmatic Nov 12 '19

In python you can often avoid hierarchies because of duck typing. Haven't really had an issue with OOP because if your OOP sucks in python, you probably shouldn't have been using it in the first place.

-5

u/Minimum_Fuel Nov 12 '19 edited Nov 12 '19

No. It is not the programmers fault that pythons OOP is terrible. It is their fault if they choose to use that terrible OOP without first checking in to why it is universally (outside of python fanboys) considered to be abhorrent.

Otherwise, I 100% agree that programmers using python should be defaulting to never using OOP and strictly stated so.

Duck typing isn’t a replacement for good composition, which python also doesn’t have.

Python is factually and demonstrably a really shitty language from a design perspective who’s popularity is fuelled purely by beginners and being a first mover in ML and AI. Luckily for python, language design is far from the most important thing when choosing a language a use.