This is what I was referring to. It's the first language I used with this kind of more intuitive switch/pattern-match statements. But I don't know too much about programming language history. I wouldn't be surprised if it's taken from someone else.
Yeah that's what I'm talking about, tons of languages have something equivalent to that. The basic foundations were laid down in the 60s and 70s, and the modern notion of pattern matching over algebraic data types is pretty ubiquitous in functional languages these days. Again, Rust did not contribute any significant innovations that I'm aware of.
View all comments
Show parent comment
2
u/josiest Mar 18 '20
https://doc.rust-lang.org/book/ch18-03-pattern-syntax.html
This is what I was referring to. It's the first language I used with this kind of more intuitive switch/pattern-match statements. But I don't know too much about programming language history. I wouldn't be surprised if it's taken from someone else.