Live data from Hacker News

Ask HN: Which language has the clearest type syntax?

news.ycombinator.com

1–8 of 8 posts

Re: Ask HN: Which language has the clearest type syntax?

#3
Not 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?

Re: Ask HN: Which language has the clearest type syntax?

#4

Not 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?

#5
post #4

Not 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.

Sorry, we, simple down to earth developers, have had enough of that "sound" bullsh*t! :)

Re: Ask HN: Which language has the clearest type syntax?

#8
I find Scala to be the most readable, but perhaps that's only because it's the one I learned typing and type level programming with.

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.