Skip to content
0:00 / 0:00

#jsdoc#typescript#theprimeagen

jsdoc and typescript

ThePrimeagenHighlights

60K subscribers • 1 video on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by ThePrimeagen
  • An opinion. It argues one side of a question engineers disagree on.

Intermediate. Assumes working knowledge.

6.6K views2 years ago1 recommendation

Programming languagesWeb developmentTypeScriptJavaScript

ThePrimeagen discusses the trade-offs between using JSDoc for type checking versus compiling with TypeScript.

All Clips are from the live stream of ThePrimeagen twitch.tv/ThePrimeagen Wanna Become a Backend Dev & Support me at the SAME TIME??? boot.dev/primeagenyoutube

Why it's here

1 person recommends this

What people say. Shared as a convincing argument for using JSDoc with TypeScript to avoid compilation steps.

u/norbi-wanin r/node • Recommends

…er, there are a couple of points I want to clarify: 1. I hadn't used TypeScript extensively before, except for my personal projects. 2. I don't use JSDOC + TS in strict mode. 3. Due to our architecture, we have minimal interaction with each other's code. I follow Primagean on YouTube, and the following clip convinced me to stay with JSDOC + TS [video However, I'm not sure if I understand why compilation steps become more difficult over time. I want to stay open-minded, and not just accept a few developers' opinions. Could you share your experience with TypeScript development compared to using JSDoc + TypeScript? In what scenarios does JSDoc or Typescript fall short?…