News for hackers. Stuff that matters.
Re:JavaScript for People Who Hate JavaScript by flavio81 on Wednesday August 09, 2017 @12:34PM (#14970954)
Typescript will give you compile-time type checking, but the actual runtime (javascript) is weakly typed.

For me this is the main problem with the language, otherwise it is a good language even without compile time type checking.

Re:JavaScript for People Who Hate JavaScript by pbowyer on Wednesday August 09, 2017 @02:47PM (#14972355)
> Typescript will give you compile-time type checking, but the actual runtime (javascript) is weakly typed.

Yes and this sucks. There have been a few bugs I've had (can't remember details) where the types or visibility looked OK in the editor but I was bitten at runtime.

No doubt due to my loose configuration - tightening up the linter would help and getting rid of null/undefined overlaps is my next move.