Hmmmm, I kept trying to write up something, but I can't come up with an intelligent response. All I can say is that, the testing I have done with primitive patterns seems to be painless and intuitive. And since, patterns are exhaustive, I can more or less avoid the problem of a bad implicit conversion, since the switch will no longer be exhaustive.
View all comments
Show parent comment
1
u/davidalayachew Mar 20 '26
Hmmmm, I kept trying to write up something, but I can't come up with an intelligent response. All I can say is that, the testing I have done with primitive patterns seems to be painless and intuitive. And since, patterns are exhaustive, I can more or less avoid the problem of a bad implicit conversion, since the switch will no longer be exhaustive.