Ask HN: Which language has the clearest type syntax?
1–8 of 8 posts
Re: Ask HN: Which language has the clearest type syntax?
#2Re: Ask HN: Which language has the clearest type syntax?
#3For 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?
Re: Ask HN: Which language has the clearest type syntax?
#4Not sure what you mean by “clearest”, but TypeScript is the best typing system ever invented. 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.
Re: Ask HN: Which language has the clearest type syntax?
#5Not sure what you mean by “clearest”, but TypeScript is the best typing system ever invented. 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?
"Not sure what you mean by “clearest”, but TypeScript is the best typing system ever invented." 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.
Re: Ask HN: Which language has the clearest type syntax?
#6Re: Ask HN: Which language has the clearest type syntax?
#7Re: Ask HN: Which language has the clearest type syntax?
#8Rust, 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.