Re:Virtual Structs Part 1: Where Rust’s Enum Shines
by Dewie3 on Tuesday May 05, 2015 @03:58PM
(#9494577)
They already chose to try to appeal to those developers by calling it "enum". And that doesn't sound like a good motivation to me: how hard is it to learn something like algebraic data types, compared to learning about lifetimes? It's like the choice to use angle brackets for generics - if the intent is to be easy for programmers with a certain background, that only lures them in with a false sense of familiarity. Because something like angle brackets over square brackets is, again, a superficial and easy thing to learn compared to any of the semantic stuff.
[ Parent
| on HN ]
There are no comments on this comment yet.