Elektrine lite

← Feed

@agocke@hachyderm.io

2024-06-15 00:36 UTC

@polotek@social.polotek.net @slightlyoff@toot.cafe kind of unclear where something like typescript falls in here. Naively I’d expect it’s not zero expense, but it also seems like being able to write your code with type annotations could save time and bugs

Replies (2)

  • @polotek@social.polotek.net 2024-06-15 00:40

    @agocke@hachyderm.io @slightlyoff@toot.cafe I hear jsdoc typing has gotten really good. In general I think typescript is net positive but only barely. The mismatch with being able to debug the code that actually runs in your browser is a heavy toll. It remains to be seen whether browses will get native typescript interpreters. That would be a heavy lift. And I'm not sure what it would do to backwards compatibility.

    Open ##2300354

  • @mensrea@freeradical.zone 2024-06-15 22:40

    @agocke@hachyderm.io @polotek@social.polotek.net @slightlyoff@toot.cafe my experience with ts in the frontend so far has been: it's unnecessary complication

    Open ##2971869