Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Both Visual Studio (from Microsoft) and WebStorm (from JetBrains) give you JS intellisense. Granted, JS intellesense is never going to give you as much information as a statically typed language, but Typescript helps the editor as does comment type-hinting in VS (using something along the lines of JSDoc)


You can annotate types within JSDoc, which can help somewhat. But granted, compared to statically typed languages it's still a clusterfuck. Currently writing documentation comment translation for a C#→Java/JS compiler and I'm injecting as much type-system metadata as I can, but IDE and editors still disagree to what extent they're actually using that.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: