TypeScript in 100 Seconds

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 พ.ย. 2024

ความคิดเห็น • 451

  • @Fireship
    @Fireship  4 ปีที่แล้ว +185

    If you want to see TS in action, upgrade to Fireship PRO with this 40% off code (ends Nov 30th): mbus5Kcj fireship.io/pro

    • @jahadempire7934
      @jahadempire7934 4 ปีที่แล้ว +2

      Hi, is it possible; if you create a video/course on how you build your website?

    • @locus1289
      @locus1289 4 ปีที่แล้ว +4

      Please make videos on Ionic React.

    • @kaidenrogers
      @kaidenrogers 4 ปีที่แล้ว +2

      Damnit, I missed it

    • @acryliq
      @acryliq 4 ปีที่แล้ว

      @@kaidenrogers I was so concentrated on Laracasts, that I completely forgot about Fireship. The only other membership I am willing to purchase.

  • @911madza
    @911madza 4 ปีที่แล้ว +1192

    There are 2 kinds of people: those who love TS and those who have not used vanilla JS enough.

    • @leokiller123able
      @leokiller123able ปีที่แล้ว +21

      I prefer JS

    • @thatsalot3577
      @thatsalot3577 ปีที่แล้ว +61

      @@leokiller123able trust me I preached the same thing for over an year but now when I'm working with large codebases, It acts as a lifesaver, now I use it everywhere

    • @timothychristensen2205
      @timothychristensen2205 ปีที่แล้ว +8

      Haven't crossed that line yet but I plan to one day

    • @remboldt03
      @remboldt03 ปีที่แล้ว +1

      I am transitioning right now

    • @leokiller123able
      @leokiller123able ปีที่แล้ว +72

      @@thatsalot3577 now I use typescript 🤣

  • @ProjectExMachina
    @ProjectExMachina 4 ปีที่แล้ว +272

    There are situations when you would think that you need to use "any" but you don't need to - a variable can be of multiple types.
    Example: variableName: string | boolean

    • @InfinityOver0
      @InfinityOver0 2 ปีที่แล้ว +32

      Programmers are lazy by nature. Thus, :any.

    • @ericbwertz
      @ericbwertz 2 ปีที่แล้ว

      @@InfinityOver0 if they were that lazy, they wouldn't be using typescript in the first place, else stupid

    • @wendolinmendoza517
      @wendolinmendoza517 2 ปีที่แล้ว +14

      @@InfinityOver0 thats feels like an excuse

    • @InfinityOver0
      @InfinityOver0 2 ปีที่แล้ว +11

      @@wendolinmendoza517 I agree, which is why at work I always use real data types and not any, but can't change my coworkers's minds that easily.

    • @FlanPoirot
      @FlanPoirot ปีที่แล้ว +10

      @@InfinityOver0 disable any on ur tsconfig, done!

  • @devnol
    @devnol 4 ปีที่แล้ว +147

    Lots of friends suggested me to check out TS over and over again. I read the docs and understood very few things. This 100 second overview actually was descriptive enough to make me understand fully its uses and how it works.

    • @danimunf
      @danimunf 4 ปีที่แล้ว +4

      Yeah same dude. This video gives me weird confusion of understanding

    • @mduke162
      @mduke162 6 หลายเดือนก่อน

      Ditto. Loved it. javascript types, IDE, and interfaces....DONE!

  • @harisbashir2719
    @harisbashir2719 4 ปีที่แล้ว +235

    Web sockets in 100 seconds plz

    • @lohitakshtrehan6379
      @lohitakshtrehan6379 4 ปีที่แล้ว +3

      Would love this video. Also make a detail video along with 100 seconds

    • @Fireship
      @Fireship  4 ปีที่แล้ว +58

      It's on the list

    • @mateowang6570
      @mateowang6570 4 ปีที่แล้ว +2

      YES, absolutely. Would love to see Fireship do a "how to make your data real-time" so that those not using Firebase can also get that nice real-time experience :)

  • @marna_li
    @marna_li 3 ปีที่แล้ว +343

    Technically, JavaScript has got types - but since JavaScript is dynamically typed, we just don't know what type of value a variable contains until runtime. TypeScript is marvelous since it adds these annotations as developer tooling with no added runtime overhead. And you get a transpiler for future features too.

    • @Jack-yk3nl
      @Jack-yk3nl 2 ปีที่แล้ว +8

      But if you consider the following below, then even after run time the type of a variable can change?
      let item = 30;
      // Item is a number
      document.querySelector("#button").addEventListener("click", () => {
      item = "30";
      // Item is now a string
      }) ;

    • @EduardoMengesMattje
      @EduardoMengesMattje 2 ปีที่แล้ว +4

      🤓

    • @unknownguywholovespizza
      @unknownguywholovespizza ปีที่แล้ว +3

      ​@@EduardoMengesMattje I love books 📚

    • @codewithegai
      @codewithegai หลายเดือนก่อน

      ​@@Jack-yk3nl that is expected behaviour. It is not an error.

  • @blueberry5992
    @blueberry5992 ปีที่แล้ว +13

    oh my god exactly what I need and what I want :
    1- concise and straightforward explanation
    2- a general idea before starting and a recap before finishing
    love u

  • @absbi0000
    @absbi0000 3 ปีที่แล้ว +30

    This is the best explanation of typescript I've seen yet. Thank you for detailing why it's so needed.

  • @NauvalAzhar
    @NauvalAzhar 4 ปีที่แล้ว +654

    Awesome as always! HTTP in 100 seconds would be great.

    • @kid1412621
      @kid1412621 4 ปีที่แล้ว +3

      Http 1 2 3 per 100s

    • @jamesfoo8999
      @jamesfoo8999 2 ปีที่แล้ว +7

      Could probs do HTTP in 20 seconds :P

    • @andifaizal6848
      @andifaizal6848 ปีที่แล้ว

      Mas Nauval mampir disini

    • @NauvalAzhar
      @NauvalAzhar ปีที่แล้ว +1

      @@andifaizal6848 kita ketemu di mana-mana mas wkwkwkw

    • @andifaizal6848
      @andifaizal6848 ปีที่แล้ว

      @@NauvalAzhar wkwkwk di discord,di fb,di Instagram,di TH-cam juga mas 😂.

  • @ahmadfariz7173
    @ahmadfariz7173 8 หลายเดือนก่อน +2

    1. static type checking -> prevent runtime error, such as error caused by variable not found or method not exists.
    2. any javascript syntax works in typescript
    3. Implicit and explicit typing
    4. Intellisense -> autocomplete in IDE

  • @Nurtylek
    @Nurtylek 4 ปีที่แล้ว +345

    awesome, can u make video abt joining to open source world?)

    • @Fireship
      @Fireship  4 ปีที่แล้ว +137

      That's an interesting idea... I'll think about it.

    • @ArchiWorldRuS
      @ArchiWorldRuS 4 ปีที่แล้ว +21

      Just sign up on GitHub
      Done
      🤣👌

    • @nodidog
      @nodidog 4 ปีที่แล้ว +24

      Agree. I'd love to get stuck in and help with some open source projects, but it seems pretty overwhelming from the outside

    • @harisbashir2719
      @harisbashir2719 4 ปีที่แล้ว +3

      Really need this

    • @squirrel1620
      @squirrel1620 4 ปีที่แล้ว +5

      @@nodidog you just gotta message the dev and see where they're at: i.e. if they're expanding the code or working on bugs. Most large open source projects have a set of like 3 active devs and dozens more semi active, followed by hundreds of forks, added feature sets and such

  • @jeffreyjdesir
    @jeffreyjdesir 4 ปีที่แล้ว +10

    You're an OG technomancer mate! I've been skimming Learn Typescript in Y Minutes but don't have nearly as much fun as your 100s. 🙏🏿

  • @cabo087
    @cabo087 4 ปีที่แล้ว +17

    I love to watch your videos as they are quick and to the point. As a fullstack freelance developer that changes project around every year / 1.5 year its hard to keep up with all the different techniques, frameworks etc. I forget many things that i've done in the past till I see a refresh video. Often the refresh videos are way to slow and to long if you are an experienced developer. So lets say if the focus is front-end with angular I would like to see the must know things before starting the angular project etc. Idea? (Angular, react, nodejs, typescript, aws / serverless etc:)

  • @Kreyn-ns8gx
    @Kreyn-ns8gx 2 ปีที่แล้ว

    Reallly helped with my research you literally made the "TypeScript" of "What is TypeScript". No bs, straight to the point

  • @raushonmunni2633
    @raushonmunni2633 4 ปีที่แล้ว +36

    Progressive Web Apps in 100 seconds

  • @adeyanjusegunsamuel2686
    @adeyanjusegunsamuel2686 2 ปีที่แล้ว +7

    Few months ago I didn't bother with Typescript because I thought it was adding more work. But after working with it in a react typescript project I now know why people love it. VS code intellisense goes straight to another level and you get auto import of modules in most cases.

  • @jerseyse410
    @jerseyse410 3 ปีที่แล้ว +153

    As a JS newbie, I love TS. It's like the safety of Java or C-Sharp but in JS. It always frustrated me that I couldn't tell the linter in JS like I could in Python that I only wanted a certain type for a function argument:
    def greeting(name: str) -> str:
    return 'Hello ' + name

    • @luizAugustoll
      @luizAugustoll 2 ปีที่แล้ว +1

      you can, but JSDocs is a hell... If you are interested look like typedef for object and function descriptor.

    • @luizAugustoll
      @luizAugustoll 2 ปีที่แล้ว

      and you can comment params for the function

    • @oliveryt7168
      @oliveryt7168 2 ปีที่แล้ว

      @@luizAugustoll code should be self-explanatory.

    • @wasserruebenvergilbungsvirus
      @wasserruebenvergilbungsvirus 2 ปีที่แล้ว +17

      You can do that in Python? Wtf, I didn't know that. Cool.

    • @unknownguywholovespizza
      @unknownguywholovespizza 2 ปีที่แล้ว +1

      @@wasserruebenvergilbungsvirus yeah but it doesn't give you any power. It's just to only help you not the interpreter.

  • @FRONTRUS
    @FRONTRUS 4 ปีที่แล้ว +161

    *Covid-19* : Making Programmers Since 2020 🎓

    • @septuleptum
      @septuleptum 4 ปีที่แล้ว +2

      lol, true

    • @migmoog
      @migmoog 4 ปีที่แล้ว +10

      Can confirm, that's one thing I can appreciate this year for

    • @neillunavat
      @neillunavat 3 ปีที่แล้ว +2

      Haha you are so accurate.

    • @neillunavat
      @neillunavat 3 ปีที่แล้ว +1

      Wait, I didnt reply on this. Who tf?!

    • @ananttiwari1337
      @ananttiwari1337 3 ปีที่แล้ว

      @@neillunavat lmao

  • @bmiller949
    @bmiller949 ปีที่แล้ว

    Wow. This is the perfect thumbnail sketch of TypeScript. It's like 'Hello World'!

  • @abdullahawisimulaha
    @abdullahawisimulaha 4 ปีที่แล้ว +15

    if youre creating all of your content on your own, I can only admire your work ethic , which btw I would love to hear more about as well :))

  • @kamil118
    @kamil118 2 ปีที่แล้ว +1

    This madman put "You're typescript project" into the script and actually read it and recorded.
    1:08

    • @RedStone576
      @RedStone576 2 ปีที่แล้ว

      he clearly said "your"

  • @avi12
    @avi12 4 ปีที่แล้ว +55

    TypeScript is mostly useful for folks who come over from strongly-typed languages like C, C++, C#, Java
    I don't use TypeScript in any of my project, partly because I'm typically working alone

    • @cookedpotato
      @cookedpotato 2 ปีที่แล้ว +28

      just try it bro, you are gonna love it, source?, just trust me bro

    • @supersquirrel7340
      @supersquirrel7340 2 ปีที่แล้ว +23

      @@cookedpotato reliable source

    • @liamwelsh5565
      @liamwelsh5565 2 ปีที่แล้ว +18

      I said the same thing till I started working with a company who uses TS. Trust me, if you try it you'll hate it at first but it grows on you once you realize much time it saves you from debugging. The thought on console logging for an hour or more over silly bug just makes me cringe, and that stuff happens with plain JS.

    • @cookedpotato
      @cookedpotato 2 ปีที่แล้ว +5

      @@liamwelsh5565 source? just trust him bro

    • @madhououinkyoma
      @madhououinkyoma 2 ปีที่แล้ว +6

      @@cookedpotato the potato came back. How can you not trust it?

  • @yarik_superpro
    @yarik_superpro 11 หลายเดือนก่อน +1

    came here becouse people suggested,this is very promising to type checking (gonna use it for client invoking)

  • @frogery
    @frogery 3 ปีที่แล้ว +13

    after a couple years of working in JS, i'm extremely glad that TS exists 😅

    • @absbi0000
      @absbi0000 3 ปีที่แล้ว +1

      Still important to learn the foundations of JS first!

  • @Kleberei
    @Kleberei 4 ปีที่แล้ว

    This is by far the best Video i have ever seen, to show someone who wants to know why he should look into typescript. Thank you.

  • @Danielspss
    @Danielspss 10 หลายเดือนก่อน +1

    God bless the ppl who created Typescript 😊

  • @hfourie7121
    @hfourie7121 4 ปีที่แล้ว +6

    Was like, I need to learn TypeScript, open youtube, check notifications, first notification now I am here. lol.

  • @kresimircosic9035
    @kresimircosic9035 4 ปีที่แล้ว +13

    TypeScript is magnificent - I would never type pure JS again. Generics also bring it to a whole new reusability level.

    • @Nexus-rt1bm
      @Nexus-rt1bm 4 ปีที่แล้ว +4

      Bless Generics and type params

  • @usmanmir5663
    @usmanmir5663 4 ปีที่แล้ว +91

    Last time I was this early, I wrote a 100 lines of code without a single error...
    ...I was never this early

    • @NeelAdventures
      @NeelAdventures 3 ปีที่แล้ว +1

      I wrote 593 lines of code without errors.
      Easy.

    • @usmanmir5663
      @usmanmir5663 3 ปีที่แล้ว +1

      @@NeelAdventures it was HTML probably

    • @NeelAdventures
      @NeelAdventures 3 ปีที่แล้ว +1

      @@usmanmir5663 It's typescript

    • @ibrasome4492
      @ibrasome4492 3 ปีที่แล้ว

      @@NeelAdventures Do it on assembly then I'll be impressed

    • @aeuludag
      @aeuludag 3 ปีที่แล้ว

      @@NeelAdventures 600 lines of console.log :D

  • @MrPetzold123
    @MrPetzold123 9 หลายเดือนก่อน +1

    Anders Hejlsberg must have had fun when looking at Javascript and then determining "this thing needs some Turbo Pascaling to be actually really usable"...but good thing he did anyway 😊.

  • @NilesBlackX
    @NilesBlackX 4 ปีที่แล้ว +4

    Crazy coincidence since I literally decided to learn typescript five hours ago
    You always do this. This is why I subscribed

  • @AlphaWatt
    @AlphaWatt 3 ปีที่แล้ว +1

    EXACTLY what hoped out of this video. Thank you!

  • @ninjaasmoke
    @ninjaasmoke 4 ปีที่แล้ว +4

    Man, you are insane!
    It takes a considerable amount of knowledge of each of these languages, applications or softwares to put all essential elements into a 100s video!
    Kudos

    • @timothychinye6008
      @timothychinye6008 10 หลายเดือนก่อน

      Wait... this guy is great and all but... don't lie or misunderstand things. The essentials, are the basics. It really does not take "a considerable amount of knowledge of each of these languages", you just just need first-hand experience with them.

  • @heymauriciosoares
    @heymauriciosoares 4 ปีที่แล้ว +8

    I know it's not strictly related to TECH, but the majority of developers uses it somehow... so perhaps a video with the topic "'Agile Methodologies in 100 seconds" would be interesting

  • @TheCodingOdyssey
    @TheCodingOdyssey 4 ปีที่แล้ว +2

    Thanks for this. It seems like recently I am hearing more and more about Typescript. Its like its banging in my brain: Learn me!!!

    • @Progovchannel
      @Progovchannel 3 ปีที่แล้ว

      i have been learning Typescript a years ago after get suggest from my friend who Javascript expert ....

  • @ayushpurohit8266
    @ayushpurohit8266 7 หลายเดือนก่อน +1

    Please remember while python and js are dynamic
    JS is loosely typed
    Python is strongly typed

  • @GiuseppeGreco-jl7dx
    @GiuseppeGreco-jl7dx ปีที่แล้ว

    man i'm starting to see why these 100 seconds intros are so popular

  • @okanyldrmop
    @okanyldrmop 4 ปีที่แล้ว +8

    Please do flutter/dart in 100 seconds, your videos are amazing!

    • @MaxProgramming
      @MaxProgramming 4 ปีที่แล้ว +1

      He has done flutter i think. But not sure

    • @ranjith27
      @ranjith27 4 ปีที่แล้ว

      He has! th-cam.com/video/lHhRhPV--G0/w-d-xo.html

  • @bobDotJS
    @bobDotJS 4 ปีที่แล้ว

    That coupon code is exactly what I needed to GoPro. With all of the Black Friday deals I subscribed to all of my favorite code TH-cam channel courses. An investment in my future...

  • @asfandalikhan6269
    @asfandalikhan6269 3 ปีที่แล้ว

    Where was this channel all my life?

  • @OhAzanChannel
    @OhAzanChannel 3 ปีที่แล้ว

    Wow, never feel enlightened like this. Now i really understood what typescript is. Haha. Thank you. I will learn typescript right away.

  • @matthewao
    @matthewao 4 ปีที่แล้ว +8

    I've never clicked a video so fast in my life

  • @matthewnorman1326
    @matthewnorman1326 4 ปีที่แล้ว +5

    I find JavaScript + JSDoc + VSCode + ESLint works great and I don’t have to transpile and use code maps for debugging. ES6 changed the game with classes among other amazing features. TypeScript is used by VSCode for handling type awareness. And you don’t have to write TypeScript.
    Also, who doesn’t test their code to let a bug like an undeclared/undefined variable get into production? VSCode would catch that scenario with ESLint and warn you.

  • @vaolin1703
    @vaolin1703 6 หลายเดือนก่อน +1

    So basically it’s like Python with consistent type hinting and a static type checker

  • @arosdove3224
    @arosdove3224 3 ปีที่แล้ว +1

    thanks for a quick overview! I think I should start learning typescript right now .

  • @Infinitude
    @Infinitude 4 ปีที่แล้ว +5

    Thanks for this short and to the point topics covered. Definitely loved the features of typescript over the javascript. :)

  • @wassim5622
    @wassim5622 4 ปีที่แล้ว +1

    im in love with that end so cool animation !!

  • @albertbennett6290
    @albertbennett6290 4 ปีที่แล้ว +4

    Reason in 100 seconds pls?
    Great Video btw!

  • @mufasasimsek9931
    @mufasasimsek9931 2 ปีที่แล้ว

    Another awesome video. This youtube channel is my favorite by FAR!

  • @AsakuraAvan
    @AsakuraAvan 2 ปีที่แล้ว +6

    So basically Typescript is just Javascript that gives you warning you when your variable types are not consistent.

    • @Roxve
      @Roxve ปีที่แล้ว

      But you won't need to go tough your 700 lines of code to find where the error is unlike JavaScript

  • @tommyF151
    @tommyF151 4 ปีที่แล้ว +4

    Great video! Even though I knew or heard most of it it's good to have that recap from time to time. Love it!

  • @OmegaCat9999
    @OmegaCat9999 ปีที่แล้ว

    I'm a JS user, so feel like learning this!

  • @yalslaus
    @yalslaus ปีที่แล้ว

    Crazy its like we're reinventing the wheel. All of this because we wanted 1 language to code both front end and back end.

  • @KeksStarLP
    @KeksStarLP 4 ปีที่แล้ว +1

    Had to teach myself TS because the company, I‘m working at is using it. At first I was a bit hesitant, but after a while it‘s save to say that TS is awesome!

  • @carlosarena9864
    @carlosarena9864 4 ปีที่แล้ว

    I'm not the first nor the second nor the third nor the fourth and so on, but I've just taken the phone and boom! There was a new video from you and it was released just a couple of minutes ago. That's what I call connection.

  • @sawilliams
    @sawilliams 6 หลายเดือนก่อน +1

    My IDE does all this for me without having to add on another layer of complexity by using typescript

  • @basarat
    @basarat 3 ปีที่แล้ว +1

    Nice summary 🌹

  • @khokon_m
    @khokon_m 4 ปีที่แล้ว +13

    Web sockets in 100 seconds.

  • @blatchie4608
    @blatchie4608 3 ปีที่แล้ว +1

    I think this has finally just clicked for me. Thank you for all your amazing work :)

  • @ahmedbalady1262
    @ahmedbalady1262 4 ปีที่แล้ว +1

    Thanks to you fireship.I will be using from now on 🤠.

    • @Simple_OG
      @Simple_OG 10 หลายเดือนก่อน

      Your emoji 🙆

  • @Euler123-h8n
    @Euler123-h8n 2 ปีที่แล้ว +1

    Typescript = Javascripter's baby sister , LOL.
    Typescript = When a quality checker tool turns in a programming language, LOL2
    Typescript = When a vsc plugin got a celebrity status, LOL3.

  • @if6925
    @if6925 4 ปีที่แล้ว +5

    0:06 Lebanon

    • @Fireship
      @Fireship  4 ปีที่แล้ว +2

      Probably right, I thought it was Portland, Oregon

  • @amirhoseinrabiee5854
    @amirhoseinrabiee5854 3 ปีที่แล้ว

    Best channel in TH-cam.

  • @yash1152
    @yash1152 2 ปีที่แล้ว

    wow, this video is so awesome. i am able to understand so much part of it (which earlier i normally won't be able to)

  • @banzooiebooie
    @banzooiebooie 4 ปีที่แล้ว

    Thanks a lot for the discount! I didn't hesitate, subscribed for life!

  • @HamaadSiddiqui
    @HamaadSiddiqui 4 ปีที่แล้ว +3

    Amazing Video
    You always inspire me to try new things and make them look so easy :)

  • @shwetakadam7915
    @shwetakadam7915 4 ปีที่แล้ว +1

    Hi can you make a video on AWS amplify?? Or possibly small project idea or suggestions for multi cloud architecture ?

  • @TheGamerRespow
    @TheGamerRespow 4 ปีที่แล้ว +3

    Excellent video as always ! But you shouldn't use "any" anymore, you should instead use "unknown", I think it's way better.

    • @Nexus-rt1bm
      @Nexus-rt1bm 4 ปีที่แล้ว

      Why exactly is that? I have seen many developers do this although typescript reacts the same in most cases to `any` and `unknown`.

    • @luizAugustoll
      @luizAugustoll 2 ปีที่แล้ว +1

      @@Nexus-rt1bm i think any doens't "anything" the types, and that makes it more consistent, and one way (you can set any value to it, but you can't 'arg' that it is any value). Many times I was mad about unknown, until I realize that it's my mistake and not the checker that doesn't known what I mean

    • @Nexus-rt1bm
      @Nexus-rt1bm 2 ปีที่แล้ว +1

      @@luizAugustoll It's been about a year now and after writing more typescript, I've come to understand their differences. I also agree with your explanation.

  • @pupdoggify
    @pupdoggify 3 ปีที่แล้ว +1

    Need Christmas/NYE discounts please. Already been a crazy year!

  • @amanuel2135
    @amanuel2135 4 ปีที่แล้ว

    Fireship the TH-camr we have but don't deserve. Could you make a tutorial on typescript?

  • @cindrmon
    @cindrmon 3 ปีที่แล้ว

    wow.. no wonder my friends likes it that much

  • @EllyOguttu
    @EllyOguttu 4 ปีที่แล้ว

    Thanks for explaining TS .subscribed

  • @53Strat
    @53Strat ปีที่แล้ว

    I practiced with C# and now I'm doing javascript and react heavily. Yeah, I will get into typescript more now I got my certificate

  • @roshan4348
    @roshan4348 4 หลายเดือนก่อน

    Great typescript video!

  • @kuoyulu6714
    @kuoyulu6714 9 หลายเดือนก่อน +1

    This is really great!

  • @locus1289
    @locus1289 4 ปีที่แล้ว +1

    Please make videos on Ionic React !!

  • @JustinK0
    @JustinK0 ปีที่แล้ว

    This is why i like angular more than react, naturally in typescript instead of javascript.

  • @sierragutenberg
    @sierragutenberg 9 หลายเดือนก่อน +1

    Fun fact: Jeff made his "TypeScript in 100 Seconds"-video before he made his "JavaScript in 100 Seconds"-video 😂

  • @nicetomeetugaming7024
    @nicetomeetugaming7024 2 ปีที่แล้ว

    Your videos are always amazing!

  • @brightlyvirya7500
    @brightlyvirya7500 7 หลายเดือนก่อน +1

    Interface in typescript just like cass (oop) but only atribute (no method)... like struct in c

  • @AlphaFoxDelta
    @AlphaFoxDelta 3 ปีที่แล้ว +1

    I cant believe I worked with JS alone for so long, simple ignorance about TS I suppose but, I've been doing TS for just under a year and I cant think of why these two aren't meant for one another in any situation.

  • @kunalsoni7681
    @kunalsoni7681 3 ปีที่แล้ว

    best video on typescript intro :)

  • @kokop1107
    @kokop1107 3 ปีที่แล้ว

    Typescript: solving a non-existent problem

  • @wellingtonchanda4067
    @wellingtonchanda4067 3 ปีที่แล้ว +1

    Great Video Thank you!!! Though What's the difference between Between Types and Interfaces in TypeScript?

  • @a2xd94
    @a2xd94 4 ปีที่แล้ว +12

    So the big question is - when would it be appropriate to NOT use Typescript over regular JavaScript? I see no practical use cases other than some ridiculously simple single page application that has plain JavaScript written within the html itself.
    This is coming from a C# developer - I’m learning JavaScript right now and boy does it seem dangerous to me to just be able to type anything and it not throw an error. TypeScript seems like the way to be able to manage large and complex JavaScript code base.

    • @mixuaquela123
      @mixuaquela123 2 ปีที่แล้ว +2

      I've heard JavaScript is a bit faster since browsers understands JS and so TS needs to be converted to JS before browsers can handle it.

    • @FlanPoirot
      @FlanPoirot ปีที่แล้ว +8

      @@mixuaquela123 the typescript is compiled to javascript so there's no runtime overhead. all your browser ever sees is javascript

  • @mingyangli9171
    @mingyangli9171 3 ปีที่แล้ว

    Next video idea: Prisma ORM in 100s!

  • @mubafaw
    @mubafaw 3 ปีที่แล้ว

    You just saved my career! I owe you a drink 😃

  • @zemalex89
    @zemalex89 3 ปีที่แล้ว

    Great video, short and direct

  • @pilearn1266
    @pilearn1266 3 ปีที่แล้ว +1

    pls video on auth with node with sql and no sql db. Like you have built in with Django

  • @creepychris420
    @creepychris420 3 ปีที่แล้ว

    okay ill start using it

  • @brunorocha9898
    @brunorocha9898 2 ปีที่แล้ว

    Awesome class!!! Thank you

  • @XTpF4vaQEp
    @XTpF4vaQEp 4 ปีที่แล้ว +4

    I love TypeScript, but please when teaching beginners about "any" type, also mention it's forbidden to use :D

  • @catpurrfect
    @catpurrfect 4 ปีที่แล้ว +3

    This is a very nice video. Well put together and easily digestible. I'm impressed.

    • @ericbwertz
      @ericbwertz 2 ปีที่แล้ว

      smart kitteh

  • @Loopmootin
    @Loopmootin 3 ปีที่แล้ว +1

    Would you still use Babel if the TS compiler bomb the JS back to the stone age for you? 😅

  • @acollierr17
    @acollierr17 4 ปีที่แล้ว

    TypeScript is great! Been using it for several months now and I don't look back at JavaScript much.

  • @osmantas369
    @osmantas369 4 ปีที่แล้ว +2

    Hi @jeff,
    Appreciate your work. I wonder color theme you are using in your videos as well as on the website? Would you share it publicly? Thx

  • @keplerpierre7783
    @keplerpierre7783 4 ปีที่แล้ว

    You should do Ruby On Rails in 100 seconds.

  • @johnwhitehead5932
    @johnwhitehead5932 4 ปีที่แล้ว +1

    100 seconds of Solidity next!

  • @mykalesalad
    @mykalesalad ปีที่แล้ว

    I've gotten so used to typescript that vanilla js scares me now

  • @keokawasaki7833
    @keokawasaki7833 4 ปีที่แล้ว +2

    Its funny how the main feature of TS is "more errors"