Hacker News new | ask | show | jobs
by koolba 3293 days ago
If you don't have var statements then you lose the number one place to specify the type of the variable.

It's not about making whatever inferences you can from the code, it's about giving the compiler/typechecker the detail it needs to make more accurate inferences.