News for hackers. Stuff that matters.
Re:The memory safety problem isn't bad coders by pas on Tuesday February 12, 2019 @02:31PM (#19146679)
It's not the fall, but the stop that kills you. So in case of TS we don't know what was the intent.

Maybe it was this.

function suffixWith10(s: string) { return s + 10; }

But if the intent can be discovered by analysis of usages of the variable later in the code, then TS will scream loudly.

There are no comments on this comment yet.