2 ms·
Yeah, polymorphism is in no way simple in lots of languages/frameworks. It's actually quite complex in many common languages/frameworks. This is absolutely cont
by beebmam 5y ago
Yeah, polymorphism is in no way simple in lots of languages/frameworks. It's actually quite complex in many common languages/frameworks. This is absolutely contradictory in my opinion, but I welcome disagreement :)
- mcv 5y agoAnd then there's a language like Scala where switch/case is so naturally integrated that it actually becomes the cleaner solution and you basically have to use it. Whatever approach is clean or not can vary wildly by language. Or framework. I do like clean code, but I think the article has a point: it's a very vague concept.