---
title: "Discussion on \"Yes, You Should Use TypeScript\" | Hashnode"
description: "Discussion on \"Yes, You Should Use TypeScript\". Why you should always pick TypeScript over JavaScript in 2023"
url: "https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Yes, You Should Use TypeScript](https://alexkates.hashnode.dev/yes-you-should-use-typescript?utm_source=hashnode&utm_medium=feed)

Why you should always pick TypeScript over JavaScript in 2023

Sep 7, 2023 · 3 min read · alexkates.hashnode.dev  
Updated Jan 1, 2024  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#software-development](https://hashnode.com/tag/software-development)

## Written by

[Alex Kates](https://hashnode.com/@thealexkates)

@thealexkates · Philadelphia, PA

  
[View profile](https://hashnode.com/@thealexkates)

Founding Engineer @ Croissant

Hi, I'm Alex Kates 👋 I'm a product engineer currently working at Croissant as a Founding Engineer. I'm addicted to writing about building, and building things worth writing about. Some extracurriculars include AWS Community Builder Instructor at MIT xPRO Bootcamp Volunteer at Tech for Campaigns

## Responses 12

Markdown supported · ⌘↵ to post

[BRITANY PEDDY](https://hashnode.com/@peddybrit)

[May 14, 2024](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/6642c3d266c93a0d0ae8d72c)

TROPICAL DELIGHT RECOVERY IS THE ONLY VERIFIED LICENSE COMPANY.

Are you looking for a way to recover cryptocurrency you misplaced or had stolen? I'm pleased to inform that Tropical Delight Recovery Hacker has resolved the issue that nearly caused my house to fall since I spent the monies my spouse wanted to utilise to start a business. I lost $1.4 million in bitcoin and etherium to these scammers. They excel at what they do and are the leading certified cryptocurrency recovery company. They can be reached instantly at: @ tropicaldelightrecoveryhacker on Telegram and @ tropicaldelightrecoveryhacker.93 on Signal. The email address is TropicalDelightRecoveryHacker @ out look .com.

[Alessandro](https://hashnode.com/@anger)

[Oct 5, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/651ef5819eba4eb3761118a3)

Although I understand the value of TypeScript (TS), JavaScript (JS) is native to the browsers and find it easier to debug than TypeScript. Does it matter? I think depends on the framework you are using. But understand... I despise both of them, just try to pick JS when I can, and if not end up using TS. For framework I do like using VueJS + Vuetify (you can build a nice web application quickly), not a huge fan of React.

[Md Taqui imam](https://hashnode.com/@taqui786)

[Sep 21, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/650bd1ac8cd3ce237b6dda04)

Thank you for the insightful blog post on TypeScript! I especially appreciate your emphasis on the rich developer experience and the ability to use one language across the entire stack. I'm definitely convinced that TypeScript is the way to go for modern JavaScript development.

[raju ghorai](https://hashnode.com/@coderj001)

[Sep 20, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/650b39b8faf78f211d73c23d)

TS

[Neil Douglas](https://hashnode.com/@NeilDouglas)

[Sep 18, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/6508701ee255c509bc315a80)

No, you do not _need_ Typescript. What you _need_, is a dictionary, that would enlighten you that the definition of "need" is "require (something) because it is essential or very important rather than just desirable.". You _need_ oxygen to live. You don't _need_ TypeScript to live a successful good life. Explicit typing is not necessary nor essential. C, Ruby, Perl, PHP - even PHP - live pretty well without explicit typing. Go tell Facebook that they _need_ strong typing in their PHP, otherwise they won't be happy nor successful, they will make mistakes, and will suffer through all 9 circles of hell. Oh poor Facebook engineers. Yuck. Amazing how hard it is for some people to accept that their mantra might not be the One Universal Truth. Just deal with it. That's the only thing you really _need_ to do in this case.

[Neil Douglas](https://hashnode.com/@NeilDouglas)

[Sep 19, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/6508701ee255c509bc315a80#reply-65096d8481a2ec0e086bd12c)

[Alex Kates](https://hashnode.com/@thealexkates) my quarrel is not about typescript itself, rather about the way this information is being served. "You should do this, because alternatives suck! No, you should do that, because it's better, it's shinier, and it's CPU is 1.4% faster! You absolutely need this new car with automatic parking because you suck at parking, people scratch all the time when they park their cars, don't be like them, buy this new toy with auto parking, don't be like all those fools!". The whole article is one huge marketing preach, borderline religious. And there are very few things is this world that are worse that religious approach to things and believes.

Telling people what they should do or use, what they need or needn't, is bad manners.

You **should** use the tool that you're the most happy, most comfortable with. Not the most productive, mind you. Leave the "productive" mantra to Silicon people, who don't mind burning out their life, their work, their passion early in the career. You should work with the tool you're enjoying. Even if I hit that `nil` error with ruby once a year, it still makes me much more happier that Java would. Yes, Types are nice. But that does not matter, if they don't make you enjoy your work. Nothing matters, if you're displeased, unhappy, or straight out hate what you do.

And if some people are happy with JS over TS - awesome! "It would be nice if you'd check out this thing called TypeScript, it _may_ make your life better because this and that. It doesn't mean you _should_ use it. It doesn't mean you _need_ it. But it _may_ make your life easier, so check it out!"

That's - what my point is about.

[Alex Kates](https://hashnode.com/@thealexkates)

[Sep 19, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/6508701ee255c509bc315a80#reply-650978d35530bf0e3824185d)

[Neil Douglas](https://hashnode.com/@NeilDouglas)

I respectfully disagree. This isn't a religious take, but a practical guide for choosing between JavaScript and TypeScript in 2023.

It's a persuasive article, not just personal preference.

While "use the tool that makes you happy" sounds good, it's not practical in a professional setting with real financial stakes.

Why not write an article sharing your own perspective?

[Neil Douglas](https://hashnode.com/@NeilDouglas)

[Sep 19, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/6508701ee255c509bc315a80#reply-650984455530bf0e382419db)

[Alex Kates](https://hashnode.com/@thealexkates) A guide provides the reader with description, pros, and cons, and leaves the question of choice to the reader.

Marketing pitch convinces the reader that he _needs_ The Thing or that the reader _should_ _use_ The Thing.

This article is trying to convince the reader that he _should use_ The Thing, because using the Alternative is just so much worse. All while being on the entirely one-sided prejudiced approach.

Thus I leave up to the reader to decide if this article is a "guide", or just a blunt marketing pitch of the Thing that Author happened like more than the Alternative, to which Author, along with many others, takes approach with religious-like zealotry.

[\--](https://hashnode.com/@myesolar)

[Sep 18, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/6507ed1095e1a9033f228011)

I am using typescript, and I regret for using it.

If you support typescript, that means you have not came to a point where typescript becomes pain and you begin to use ts-ignore comments yet

Types may be exist, but world is not perfect, every module has not been written in typescript.

Using TS looks as if it is trying to tame wild JS.

[Kavir Kaycee](https://hashnode.com/@kavir)

[Sep 14, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/650344ab770802e8a4adc9e4)

Good take on the recent Twitter drama caused by DHH.

I think everyone should take their own decisions about what tech to use that serves their use case.

The whole thing of beef as marketing is something that's worked for DHH previously, so I guess that's what they do.

[Alex Kates](https://hashnode.com/@thealexkates)

[Sep 14, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/650344ab770802e8a4adc9e4#reply-65037c752664c8e904de043e)

Yeaa I tried to stay objective and speak to my experience. Hopefully that comes through.

[Jordan Brennan](https://hashnode.com/@jfbrennan)

[Sep 13, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/650169321c641fd4a40d8545)

Good read. You have legit writing talent!

It's worth noting TS influencers (I hate that that's now a thing in the engineering world) who know nothing about Turbo were freaking out creating internet drama and trashing DHH all while not realizing removing TS changed nothing for the library's users - you don't interface with Turbo through JavaScript. Turbo API is HTML. Removing TS was strictly to make the maintainer's job easier.

Your article... These arguments in support of TS are nothing new and I'm not suggesting they're wrong or bad, but there's strong counter-arguments to these that are universally ignored by folks who feel a strong affinity toward TS. They are:

-   Yes, types already exist in JavaScript - let's use them! And create your own and use those too: if (color instanceof Color) setPaintBrush(color);
    
-   There are dozens of features built into JavaScript that developers are unfamiliar with and don't use because they have been taught you need TS to do those kinds of things
    
-   Tests are still 100% necessary. "But it compiled" is a bit of a joke even among strongly typed language communities like Java. It is a common misunderstanding of junior engineers that compiled = no bugs. TS hype reinforces this misunderstanding (not suggesting your article does that, but there's massive amounts of unbridled TS hype out there misleading developers)
    
-   Intellisense and autocomplete is as good and often better with JSDoc
    
-   I say better because all the TS projects I have worked on have no comments at all. Developers mistakenly assume typedefs and interfaces tell other developers everything they'll need to know. That's frequently not the case. In healthy codebases TS typedefs ironically have JSDoc comments to provide helpful and necessary information that TS can't, which is shown by intellisense
    
-   Intellisense and autocomplete is powered by the same ts engine built into the IDE so the developer experience with JSDoc is the same as TS - the UI in my IDE is identical between the two
    
-   You get type warnings with JSDoc too. Again, it's powered by the same ts engine built into the IDE
    
-   TS adds bloat to your app bundle
    
-   TS requires a build step and as such slows down your builds
    
-   TS requires ongoing configuration and updates, JSDoc requires nothing whatsoever - it's just vanilla JavaScript comments made magical by the IDE
    
-   TS makes zero guarantees about runtime safety, which is what really matters
    
-   TS can do nothing about more common bugs like CSS and logical errors
    
-   I tracked bugs for almost 3 years on a medium-sized app and out of 68 (I think that was the total) only 1 could have been prevented with TS
    

We need to stop getting emotionally attached to technology. I'm guilty of this too🫣 It's weakening the software engineering culture and it moves important objective facts off the table

[Amrit Lokhande](https://hashnode.com/@AmritCodes)

[Sep 10, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/64fdd4a4703e32bdbc1ce359)

Great Share

[Heby T Paul](https://hashnode.com/@hebypaul)

[Sep 10, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/64fdaaae703e32bdbc1cdf90)

Typescript gona stay here for some time, This js vs typescript trend will be dropped when another hot topic arises.

Meanwhile PHP is dead 🤗.

[Shreyas Chaliha](https://hashnode.com/@trace)

[Sep 9, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/64fcb8ebb18110bbefd6de03)

I completely agree with you Alex

[Alex Kates](https://hashnode.com/@thealexkates)

[Sep 9, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/64fcb8ebb18110bbefd6de03#reply-64fcb90bb18110bbefd6de09)

💯💯💯

[Shad Mirza](https://hashnode.com/@iamshadmirza)

[Sep 9, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/64fc8f62b18110bbefd6daff)

Well written. 100% agree with you on this.

[Alex Kates](https://hashnode.com/@thealexkates)

[Sep 9, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/64fc8f62b18110bbefd6daff#reply-64fc9389b18110bbefd6db7a)

Thanks Shad! Appreciate ya 🙏

[Sandro Volpicella](https://hashnode.com/@SandroVolpicella)

[Sep 8, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/64faf7aff89c87b3525f71a5)

Good one! I think one big difference is also if you build an application or a framework. I do understand that using TS in frameworks can get quite complicated.

I use one repository still in JS and it is so easy to miss basic things like missing imports, not available parameters, etc. I can't think of working only with JS again.

[Alex Kates](https://hashnode.com/@thealexkates)

[Sep 8, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/64faf7aff89c87b3525f71a5#reply-64faf8058b05f2b3821c05cf)

Same. I have some legacy JS repos as well, but I can't imagine starting a new project in 2023 without a Turborepo powered TS monorepo

[CodingSplash](https://hashnode.com/@codingsplash)

[Sep 10, 2023](https://hashnode.com/posts/yes-you-should-use-typescript/64fa286e089fe78e5050d06c/comment/64faf7aff89c87b3525f71a5#reply-64fdfd2c53e92fc3391111b2)

Very well written.
