Ask HN: Which language has the clearest type syntax? Or, what would be your ideal type syntax? |
Ask HN: Which language has the clearest type syntax? Or, what would be your ideal type syntax? |
Rust, by comparison, is much less readable to me, with very confusing ordering and operators. Although I'm sure someone can explain why it is superior to Scala in one way or another.
For 1 simple reason - it is flexible enough to have just as much typing as you want in every case.
Is there any other popular language that can be statically and dynamically typed at the same time?
That's a very bold statement for a Javascript layer that allows unsound typing behavior. While Typescript introduces some typing functionality please do not compare it to actual languages that type check properly.