|
|
|
|
|
by leshow
3371 days ago
|
|
> I don't need the compiler to artificially slow me down It's slowing you down because you've written code with errors. Those type errors are still in your dynamic code, you just can't see them. > I spent many years programming in ActionScript 3 and then Java so I feel like I've given typed languages a fair shot. I don't think you have, you've missed many wonderful modern type system features. Algebraic types, for one, aren't present in either of those languages and are massively useful, replacing 'null' (with a type like Option/Maybe) and exceptions (with a Result/Either concept) in many languages that have them. Not to mention, with a language that has type inference, you don't even have to write the type in many cases, and yet you keep the guarantees of a strongly typed language. |
|