3 ms·
You really could do away with the arrogance.
by kaba0 5y ago
You really could do away with the arrogance.
- quilombodigital 5y agoI dont think saving a few lines for a very rare corner case is a strong reason to add a language feature
- jstimpfle 5y agoMaybe they have a point? Arrogance != Wrong in Your Opinion.
- kaba0 5y agoSure, though as I mentioned in other comment, pattern matching is basically a better Visitor pattern. Which is while not the most common pattern, is not that much of a niche either.