3 ms·
You just read that the whole notion of object-oriented (or anything-oriented) programming has no merit, and are now asking me for examples where it has merit.
by ncmncm 5y ago
You just read that the whole notion of object-oriented (or anything-oriented) programming has no merit, and are now asking me for examples where it has merit.
You are usually constrained to a particular language or, sometimes, mix of languages. You have access to a set of language features. Use them in any mix that solves the problem. If runtime polymorphism would be useful, use it. If arrays would be useful, use them. If recursion would be useful, use it. If compile-time type matching would be useful, use it.
- throwaway894345 5y agoThank you, I always appreciate a thoughtful critique.