3 ms·
> I’ll argue further suggesting Typescript has added to the too much syntax conundrum Shit like: const [,, { name }] = props; Is part of why TypeScript's
by handrous 5y ago
> I’ll argue further suggesting Typescript has added to the too much syntax conundrum
Shit like:
const [,, { name }] = props;
Is part of why TypeScript's practically necessary in modern JS, if you don't want to go insane and/or let a bunch of stupid bugs sneak in.
- BigJono 5y agoOr people could just not write shit code. No idea why expecting basic competency with the language you're using is so out of vogue these days.
- handrous 5y agoReading one of your dependencies to track down a bug, and finding that they've written it using a totally alien subset of the language that you don't use, is not a lot of fun. The JavaScript community in particular both loves dependencies and loves experimenting with subsets of the language, when they're not embracing libraries that let them shift wholly into idioms from some other language. So as fun as it might be to write in some language that had these from the start, I'm not thrilled about giving folks a dozenth way to accomplish the same thing.