Re:The Expression Problem and its solutions
by DarkSucker on Sunday September 07, 2025 @03:27PM
(#45161370)
Thanks. I wasn't thinking of enums. To the extent one designs a trait to use an enum type (or the enum to satisfy the trait), one wins. But it seems impossible to avoid code to handle all future {type, op} combinations. The nice thing I've seen with Rust is the ability to add to what's been done before without breaking what already works. I'm thinking of "orphan rules" here.
[ Parent
| on HN ]
There are no comments on this comment yet.