4 ms·
I definitely agree that namespaces are a good idea, but if by modularity you mean isolating pieces of functionality, I'd suggest OOP is one of the worst approac
by weavejester 13y ago
I definitely agree that namespaces are a good idea, but if by modularity you mean isolating pieces of functionality, I'd suggest OOP is one of the worst approaches to take, because it results in a lot of implicit connections. Only global state is worse.
- vdaniuk 13y agoSo is OOP is one of the best or one of the worst approaches to modularity?
- kazagistar 13y agoYes.
- weavejester 13y agoOne of the worst, I think, because it encourages developers to make connections, rather than enforce isolation.