Y
Hacker News
new
|
ask
|
show
|
jobs
by
chanon
4362 days ago
Maybe try Typescript, it has optional typing and is compatible with normal Javascript. It really solves those problems you mention and will give you compile errors if you send parameters of the wrong type to functions.