News for hackers. Stuff that matters.
Re:JavaScript for squares: The incredible rise of TypeScript by slackingoff2017 on Wednesday July 26, 2017 @04:48AM (#14854518)
Mostly the latter. With strict type checking enabled TsLint will warn you about impossible conditionals. You can go a step farther and force conditionals to return boolean true/false. This disables JavaScript's "truth/falsey" but prevents a whole class of errors caused by questionable design decisions... Like empty arrays being truthy.

There are no comments on this comment yet.