The bit about Rust/Swift enums is so true, though. It's just a very good abstraction, as are most successful adaptations of functional programming concepts into imperative languages.
I wonder when the first imperative language with GADTs gonna come out, though. All prerequisites are there lol.
View all comments
Show parent comment
7
u/UARTman Oct 07 '25
The bit about Rust/Swift enums is so true, though. It's just a very good abstraction, as are most successful adaptations of functional programming concepts into imperative languages.
I wonder when the first imperative language with GADTs gonna come out, though. All prerequisites are there lol.