News for hackers. Stuff that matters.
Re:First look: adding type annotations to JavaScript by david422 on Thursday March 10, 2022 @11:06AM (#30628450)
> like a win to the kind of developer who makes a lot of type errors

Or just to the developer that likes to offload that cognitive load to their tools.

Why hold that in my head when the IDE can keep track of it for me? Why memorize every single attribute name when the IDE can autocomplete it for me? etc.

Re:First look: adding type annotations to JavaScript by Turing_Machine on Friday March 11, 2022 @04:09PM (#30646050)
This is about manually-written type annotations. About as far as can be from "the IDE keeping track of it for you".
Re:First look: adding type annotations to JavaScript by david422 on Wednesday March 16, 2022 @11:37AM (#30700120)
You manually write the type annotation, and then the IDE keeps track of the rest.

Instead keeping track of the type annotation in your head, and then also keeping track of the rest of the stuff in your head too.