Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.


Or 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.


Reading 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.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: