News for hackers. Stuff that matters.
Re:JavaScript Is Weird by tylercrompton on Sunday August 13, 2023 @12:28PM (#37111417)
I think that it can be both. Yes, weird code will produce weird results but in my opinion, the language should at least help one find the weird code.
Re:JavaScript Is Weird by leeoniya on Sunday August 13, 2023 @12:56PM (#37111703)
TypeScript is great for this, among other things.

it actually aids in writing faster (more JIT-friendly) code by alerting you to these implicit type mutations/coercions.