News for hackers. Stuff that matters.
Re:OO in Python is mostly pointless by imtringued on Thursday January 28, 2021 @06:38AM (#25940658)
OOP is about code organization. Type dependent namespaces (also known as classes) are pretty much the core of OOP.
Re:OO in Python is mostly pointless by throwaway894345 on Thursday January 28, 2021 @11:39AM (#25944514)
So is it dot-method notation (`foo.Bar()`)? If so, does that make Go and Rust OOP as well? That's just syntax though; what about the C convention of `ClassName_method_name(ClassName obj)`? That's still namespace by the type even if the language* doesn't have a first-class notion of a type prefix.