Elektrine lite

← Feed

@polotek@social.polotek.net

2024-06-15 00:40 UTC

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

Replies (2)

  • @slightlyoff@toot.cafe 2024-06-15 01:58

    @polotek@polotek.net @agocke@hachyderm.io +1 to all of this. TS is helpful in orgs w/ a lot of scale, and most teams are *deeply* confused about where they sit on the continuum. If you have less than 50 frontend folks contributing code to the same repo on a daily basis and less than 1 full-time infra person, TS is hard to justify given the upgrade treadmill.

    Open ##2300355

  • @mez@mastodon.nz 2024-06-15 11:07

    @polotek@social.polotek.net @agocke@hachyderm.io @slightlyoff@toot.cafe I had a recent (small) project for work that needed to be a client side JS app. Used JSDoc for it and not having the build step for TS was real nice!

    Open ##2300363