5 ms·
I don't think there is value in type hints that don't do anything. Especially because JS is sent over the wire. We already have a compile time type checking sys
by cphoover 4y ago
I don't think there is value in type hints that don't do anything. Especially because JS is sent over the wire. We already have a compile time type checking system called Typescript.
If you want JavaScript to enforce types in the browser that is a larger discussion.
- rektide 4y agoJS build pipelines are an industrialized software shithole, & we're starting to look like the other worst offenders (python). relief is needed. js was, for decades, simple & easy & sparked joy. it can again. this proposal potentially liberates & eases enormous pains. it also means we dont have armies of projects downcompiling to es2015 (unperformant) and/or cjs.
- cphoover 4y ago> js was, for decades, simple & easy & sparked joy. This is total revisionism. Using JS to program anything substantial was a total nightmare in decades past. I've been building websites since the early 2000s, JS is more ergonomic and capable now than ever before IMO.