2 ms·
OOP is about code organization. Type dependent namespaces (also known as classes) are pretty much the core of OOP.
by imtringued 6y ago
OOP is about code organization. Type dependent namespaces (also known as classes) are pretty much the core of OOP.
- throwaway894345 6y agoSo 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.