3 ms·
>This doesn't mean it isn't an issue, just you haven't encountered a situation where it is. You're right, but it seems to be fairly rare. I've only once ever s
by owenversteeg 13y ago
>This doesn't mean it isn't an issue, just you haven't encountered a situation where it is.
You're right, but it seems to be fairly rare. I've only once ever seen static type checking help find bugs in rarely-used code paths, and that was a single occurrence five years ago.
>And you've never seen three guides to "learn basic Javascript syntax" which contradict each other?
No, I haven't. The only things I can think of off the top of my head that a JS newbie would find contradictory are semicolons and declaring arrays with [], both of which are used by the vast majority. I've only seen one codebase ever that used new Array(), and only a handful that didn't use semicolons unless necessary.
>You can argue it both ways, as far as I am concerned. Javascript like any other language has issues, what exactly those issues are... depends greatly on what you use Javascript for.
Good point. Claiming Javascript is issue-free is as ridiculous as claiming that (to quote this guide) "Javascript sucks".