Syntax - Tasty Web Development Treats

Is JSDoc Better than TypeScript?


Listen Later

In this episode of Syntax, Wes and Scott use the fact that Svelte is being converted from TypeScript to JavaScript with JSDoc to talk about the benefits of working that way, why they are doing it, and what you can do with JSDoc that TypeScript alone doesn’t let you do.

Show Notes
  • 00:10 Welcome

  • 01:12 Roof update

  • 02:15 TypeScript haters need not apply

  • 03:17 What is JSDoc?

  • 04:27 What is our history with JSDoc?

  • 06:37 Why is Svelte moving to JSDoc?

  • 08:11 Why is JSDoc better than TypeScript?

  • 12:31 You can type things you can’t in TypeScript

  • 16:37 Param, Function and returns Descriptions

  • 21:32 Spoiler - it’s still TypeScript

  • 33:23 SIIIIICK ××× PIIIICKS ×××

  • Get Started With TypeScript the Easy Way

  • TypeScript without TypeScript – JSDoc superpowers

  • TypeScript: Documentation - JSDoc Reference

  • Dev Vlog: April 2023 - TypeScript vs JSDoc, Transitions API, Dominic Gannaway joins Svelte team

  • Svelte repo is finally being converted from Typescript to Javascript with JSDoc

  • If you are on a JS project and are missing the TypeScript hinting in your editor, you can still type your code with JSDoc syntax comments and VS Code will detect and use it!

  • Sprinkle in a little JSDoc on top of your TypeScript when needed - helpful to adding descriptions to returned values, or marking things as deprecated

  • TypeScript to JSDoc

××× SIIIIICK ××× PIIIICKS ×××
  • Scott: Watch MerPeople | Netflix Official Site
  • Wes: 18V ONE+ 45W HYBRID SOLDERING STATION (TOOL ONLY) | RYOBI Tools
Shameless Plugs
  • Scott: Sentry
  • Wes: Wes Bos Tutorials
Tweet us your tasty treats
  • Scott’s Instagram
  • LevelUpTutorials Instagram
  • Wes’ Instagram
  • Wes’ Twitter
  • Wes’ Facebook
  • Scott’s Twitter
  • Make sure to include @SyntaxFM in your tweets
  • Wes Bos on Bluesky
  • Scott on Bluesky
  • Syntax on Bluesky
...more
View all episodesView all episodes
Download on the App Store

Syntax - Tasty Web Development TreatsBy Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

  • 4.9
  • 4.9
  • 4.9
  • 4.9
  • 4.9

4.9

965 ratings


More shows like Syntax - Tasty Web Development Treats

View all
Hanselminutes with Scott Hanselman by Scott Hanselman

Hanselminutes with Scott Hanselman

378 Listeners

Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

Software Engineering Radio - the podcast for professional software developers

262 Listeners

.NET Rocks! by Carl Franklin and Richard Campbell

.NET Rocks!

246 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

285 Listeners

Thoughtworks Technology Podcast by Thoughtworks

Thoughtworks Technology Podcast

42 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

583 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

629 Listeners

Soft Skills Engineering by Jamison Dance and Dave Smith

Soft Skills Engineering

271 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

212 Listeners

The freeCodeCamp Podcast by freeCodeCamp.org

The freeCodeCamp Podcast

484 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

185 Listeners

Practical AI by Practical AI LLC

Practical AI

196 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

63 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

137 Listeners

PodRocket - A web development podcast from LogRocket by LogRocket

PodRocket - A web development podcast from LogRocket

58 Listeners