logoalt Hacker News

tialaramex • yesterday at 10:08 AM • 1 reply • view on HN

This choice has nice ergonomics but brutal practical cost so that's why languages close to the metal do not want to do this and particularly don't want to go around defaulting to it whereas a language like Typescript is fine with it.


Replies

cubefox • yesterday at 12:33 PM

Maybe it has "brutal practical cost", I don't know, but even most high-level languages don't have set-theoretic type systems. Perhaps because the approach is relatively new and most popular languages are old.