JavaScript, TC39, language design, math. I try to avoid twitter, but some conversations only happen here.

Joined May 2015
14 Photos and videos
My most idiosyncratic JS opinion is that we should all write `0, { x } = y;` instead of `({ x } = y);` so you don't have to jump to the end of the line to add the parenthesis. If only I could convince tooling to support this... (i.e. get prettier not to add the parentheses)
1
60
Several people blamed the recent npm incidents on JS's minimal standard library. I think that's wrong: the affected packages are mostly either already covered by node or could not reasonably be in a standard library. But! I'm always taking suggestions for new stdlib features.
3
142
TIL that Node shipped an API for stripping TypeScript types, not just support for doing so when running files from the CLI. This makes it trivial to have pure-TS web apps (including the frontend!) with no build step at all.
1
3
510
Some common questions and answers about the development of JavaScript: github.com/tc39/faq/ Feel free to suggest more!
3
6
25
3,440
Breaking my "never tweet" rule to bring you this overview of a very neat JS library which solves the "your function can be usable in either sync or async contexts, but not both" problem. writing.bakkot.com/gensync.h…

3
4
22