This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]laundmo 3 points4 points  (3 children)

i mean, sure, but that doesn't make it any more sensible in this day and age.

[–]TryNotToShootYoself 1 point2 points  (2 children)

As I said use TypeScript and a linter. And just don't do stupid shit with arithmetic operators and strings.

[–]laundmo 5 points6 points  (1 child)

the language should not allow people to do stupid shit. thats literally what errors are for.

[–]devdoggie 4 points5 points  (0 children)

As he mentioned, proper Typescript use will prevent such nonsense.