cedx, French
@cedx@mastodon.social avatar

At work, we're slowly migrating from TS to JS + JSDoc. In the end, it's just as well.

Coworker: "But we loose type safety!"

Me: "Wrong. We still use the TS compiler to analyze the code. We've just eliminated the code compilation stage."

Coworker: "But JSDoc is more verbose than TS!"

The tracking.ts file: 436 lines.
The equivalent tracking.js file: 322 lines.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • javascript
  • kavyap
  • ngwrru68w68
  • GTA5RPClips
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • Durango
  • slotface
  • everett
  • vwfavf
  • rosin
  • Leos
  • normalnudes
  • khanakhh
  • cisconetworking
  • cubers
  • InstantRegret
  • ethstaker
  • osvaldo12
  • modclub
  • anitta
  • provamag3
  • tacticalgear
  • tester
  • megavids
  • JUstTest
  • All magazines