r/programming • • Oct 06 '25

[deleted by user]

[removed]

155 Upvotes

218 comments sorted by

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.

1

u/montibbalt Oct 07 '25

I wonder when the first imperative language with GADTs gonna come out, though.

Haxe a long time ago, a little disappointing it's not in the video