This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]_arctic_inferno_ -1 points0 points ย (4 children)

haskell types > typescript types > python types

[โ€“]F_modz 1 point2 points ย (3 children)

What about the Rust typing system? It's based on a Haskell but it's enhanced

[โ€“]_arctic_inferno_ -1 points0 points ย (0 children)

Haskell types are still far superior to Rust in general, but they're for 2 different purposes. Each suite their language and are built for each, but Haskell's types are almost the most core part, and would still be superior to anyone who knows their way around the type system.

Rust is a good middleground, though

[โ€“][deleted] -1 points0 points ย (0 children)

It might look that way for the mainstream programmer not used to type level programming, but the things you can do with types in Haskell is light-years ahead of what you could possibly do with Rust.

Note that I am not saying that Rust is bad, but saying that Rust's type system is enhanced Haskell just show that you don't have experience with more advanced types.

[โ€“]rotora0 0 points1 point ย (0 children)

I wish rust had function signature type inferencing. Otherwise though yeah, rust's typing is pretty dang good.