Hacker News new | ask | show | jobs
by oldrny 3378 days ago
Javascript performs unchecked memory accesses? Or are you alluding to their both being weakly typed?
1 comments

No,but implicit conversions, including from operators into numeric values isn't much better.

The amount of page differences between "JavaScript the good parts" and the actual language reference speaks for itself.

That book was created before many alternatives came out; now if you are working in a team project you should look at JavaScript the same way you look at assembler, you know it will be the final thing but you shouldn't be creating it directly, but instead "compiling" from TypeScript, ELM, etc. (langs with no implicit conversions, strong typing, etc)
Those alternatives are nice in startup land, in enterprise consulting land, we get to use what the customer IT department sanctions as allowed programming languages and tools installed on computers for external consultants.
One might argue the same point based on the fact that there even exists a book called "JavaScript: The Good Parts".