4 ms·
To OO or not OO seems like more of a religious preference about functional containment: either at the module level or at the type level. This is why neither see
by airhead969 6y ago
To OO or not OO seems like more of a religious preference about functional containment: either at the module level or at the type level. This is why neither seems to satisfy everyone and why there are flame wars about it.
On one side there is loose coupling between types and functions, and the other side has strong coupling. On one side, types can be composed simply and the other involves inheritance, overloading, and polymorphic rules.
Go, Haskell, and Idris are arguable examples of good type systems whereas languages like Python and Erlang have weak type systems. I wouldn't wish C++ on my worst enemy, but that's a religious preference not shared by all. Pascal without OO had a nice type system.
- tome 6y agoWho considers Go to have a good type system?
- airhead969 6y agoWhat are your qualms with it? Is this a religious question or statement?