YouTube Transcript:
Big projects are ditching TypeScript… why?
Skip watching entire videos - get the full transcript, search for keywords, and copy with one click.
Share:
Video Transcript
it is September 7th 2023 and you are watching the code report it many years ago in 2017 legendary JavaScript user Kent C Dodds said I don't use typescript so I don't ever plan on supporting it in 2019 he goes on to say you are impassioned love of typescript is sort of freaking me out and finally in 2023 comes capitulation typescript is one and it's only a matter of time you're using it whether you like it or not but this is the sign of a good developer you have to be open-minded and willing to adapt to new tools and sometimes tools you don't even like but the big question here is did typescript really win because recently the turns have started to table a bunch of big open source projects have decided to ditch typescript in favor of vanilla JavaScript to understand the shocking turn of events we'll need to go back to the very beginning in 2012 when typescript was first released by Microsoft nobody really cared at first but then a few years later it was adopted by the angular 2 framework which everybody thought was crazy but here's the thing first they think you're crazy then they fight you then you change the world or you go to jail by the early 2020s typescript was everywhere where at which point most of its haters had been converted into True Believers but now right as we're about to reach the Glorious climax of typescript saturation you've got big libraries like svelte drizzle and turbo deciding to ditch typescript from their code bases to be clear that just means that they're not going to use typescript When developing these libraries but as an end user in a framework like svelt for example you're still able to use typescript just like normal but how could anyone possibly go back to vanilla JS after using typescript did they not remember runtime errors like cannot read properties of undefined did they not remember how hard it is to refactor a code base where you have no idea what anything is well these people are a lot smarter than I am so let's first look at this article from dhh that creator of Ruby on Rails who's getting rid of typescript and turbo version 8. the main reason they're getting rid of it is not because of the compile step but rather because it pollutes the code with quote type gymnastics and there's a lot of Truth to that especially when developing a library I'm working on a library myself called svelt fire and as you can see in the code here I have to do my own type gymnastics with typescript just to get rid of some red squiggly lines in the IDE now I could simply place this type with any and not get any type inference but then my boss would yell at me he's a total who will abuse me emotionally and physically if I don't code up to his standards it's not easy being self-employed furthermore I have the compiler in strict mode which means I have to use any anytime I don't want to use an explicit type and that results in code that's anything but beautiful let's head over to turbo on GitHub and see how people are reacting to this change well it's an absolute dumpster fire and a lot of developers are upset that their ts contributions are now Dead on Arrival but another huge project moving away from typescript is spelled and the reasoning is a bit different it's purely practical and I recommend you read this post by Rich Harris spelled 5 which may come out later this year no longer uses typescript and spelled kit is already written in plain vanilla.js and the main benefit is no compile step which is a huge boost in productivity for a large framework like this that may sound like total chaos for a large complex project but they're actually still getting most of the benefits of typescript but doing so with JS talk which is a standard comment format where you declare types and documentation with regular JavaScript comments that can then be used to generate rate types like a d.ts file and most importantly provide intellisense in your editor so you know what the hell everything does and can catch bugs early just like you can with typescript that's the main reason I use typescript in the first place so is it time to just ditch it all together well when it comes to building actual applications with a tool like spell kit or next JS I don't see myself leaving typescript anytime soon those tools integrate TS seamlessly and trying to get the same results with JS doc would be a total nightmare but one day I hope we see the end of this holy war there's currently a stage 1 ecmascript proposal that would add optional type annotations to JavaScript natively thus making typescripts nearly obsolete this has been the code report thanks for watching and I will see you in the next one
Share:
Paste YouTube URL
Enter any YouTube video link to get the full transcript
Transcript Extraction Form
How It Works
Copy YouTube Link
Grab any YouTube video URL from your browser
Paste & Extract
Paste the URL and we'll fetch the transcript
Use the Text
Search, copy, or save the transcript
Why you need YouTube Transcript?
Extract value from videos without watching every second - save time and work smarter
YouTube videos contain valuable information for learning and entertainment, but watching entire videos is time-consuming. This transcript tool helps you quickly access, search, and repurpose video content in text format.
For Note Takers
- Copy text directly into your study notes
- Get podcast transcripts for better retention
- Translate content to your native language
For Content Creators
- Create blog posts from video content
- Extract quotes for social media posts
- Add SEO-rich descriptions to videos
With AI Tools
- Generate concise summaries instantly
- Create quiz questions from content
- Extract key information automatically
Creative Ways to Use YouTube Transcripts
For Learning & Research
- Generate study guides from educational videos
- Extract key points from lectures and tutorials
- Ask AI tools specific questions about video content
For Content Creation
- Create engaging infographics from video content
- Extract quotes for newsletters and email campaigns
- Create shareable memes using memorable quotes
Power Up with AI Integration
Combine YouTube transcripts with AI tools like ChatGPT for powerful content analysis and creation:
Frequently Asked Questions
Is this tool really free?
Yes! YouTubeToText is completely free. No hidden fees, no registration needed, and no credit card required.
Can I translate the transcript to other languages?
Absolutely! You can translate subtitles to over 125 languages. After generating the transcript, simply select your desired language from the options.
Is there a limit to video length?
Nope, you can transcribe videos of any length - from short clips to multi-hour lectures.
How do I use the transcript with AI tools?
Simply use the one-click copy button to copy the transcript, then paste it into ChatGPT or your favorite AI tool. Ask the AI to summarize content, extract key points, or create notes.
Timestamp Navigation
Soon you'll be able to click any part of the transcript to jump to that exact moment in the video.
Have a feature suggestion? Let me know!Get Our Chrome Extension
Get transcripts instantly without leaving YouTube. Install our Chrome extension for one-click access to any video's transcript directly on the watch page.