Aug 26, 2021
If Uncle Bob really said, "Use polymorphism instead of else statements", then he's an idiot, but I'm fairly sure he didn't.
There's a huge, huge difference between "keep the number of class variables fairly small" which Clean Code recommends and "at most two class variables".
All in all, the article reads like someone flipped through Clean Code and decided to go to unreasonable extremes on it.