Hacker News new | ask | show | jobs
by zozbot234 1005 days ago
> Rust ADTs and pattern matching are so much better than other mainstream languages

Pascal and Delphi have always had variant records as part of the language. Are these not "mainstream" enough, especially Delphi?

3 comments

Uuugh, no. Not anymore at least.
Those languages have other issues that make them weird to use. Rust has its fair share of weirdness as well, but most of that weirdness is just a direct side effect of the way that it is.
Neither has been mainstream in years.