4 ms·
Isn't that a bit of a false dilemma though? Can you not have clean interfaces and separation of concerns without OO -- even with something as 'simple' as python
by stock_toaster 14y ago
Isn't that a bit of a false dilemma though? Can you not have clean interfaces and separation of concerns without OO -- even with something as 'simple' as python namespaces and dicts?
- el_presidente 14y agoDicts are objects.
- stock_toaster 14y agoThat is an implementation detail due to python's object support. Dicts are a native type, that are hashmaps. Unless you mean "object" as in "a thing"....
- Maro 14y agoI think he means dicts combine data, state and functionality, expose a clean API and hide the details.