What is TypeScript and Should You Learn it?

Поділитися
Вставка
  • Опубліковано 29 тра 2020
  • What is TypeScript?! Should you learn TypeScript? Well TypeScript is a very popular programming language that is a superset of javascript. This means typescript has all of the featurs of native javascript with the addition of others, one of the most notable being static typing. Typescript is mostly used to replace JavaScript in large enterprise level applications.
    🎙 Subscribe to my second channel for weekly podcasts! / @timeoutwithtim
    ◾◾◾◾◾
    💻 Enroll in The Fundamentals of Programming w/ Python
    tech-with-tim.teachable.com/p...
    📸 Instagram: / tech_with_tim
    🌎 Website techwithtim.net
    📱 Twitter: / techwithtimm
    ⭐ Discord: / discord
    📝 LinkedIn: / tim-ruscica-82631b179
    📂 GitHub: github.com/techwithtim
    🔊 Podcast: anchor.fm/tech-with-tim
    💵 One-Time Donations: www.paypal.com/donate/?token=...
    💰 Patreon: / techwithtim
    ◾◾◾◾◾◾
    ⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡
    ⭐ Tags ⭐
    - Tech With Tim
    - TypeScript
    - What is TypeScript
    - TypeScript explained
    - Should you learn TypeScript
    ⭐ Hashtags ⭐
    #TypeScript #JavaScript

КОМЕНТАРІ • 146

  • @LIZzARDsTeam
    @LIZzARDsTeam 4 роки тому +159

    I was avoiding TS for a year because my entire code base was pure JavaScript, but now I barely ever create a .js file myself. TypeScript helps prevent so much JS errors it's unbelievable. It's actually faster to write TS because you don't need to spend so much time debugging your applications.

    • @AhmedHassan-jo1il
      @AhmedHassan-jo1il 4 роки тому +2

      So should I learn it instead of js?

    • @LIZzARDsTeam
      @LIZzARDsTeam 4 роки тому +18

      @@AhmedHassan-jo1il TypeScript is a superset for JavaScript. So learn JS first and after you are comfortable with it switch to TS. It all compiles to JS in the end anyway. TS just helps you during development. And being able to chose to which version of JS it is compiled in the end is very useful.

    • @heavydirtysoul1491
      @heavydirtysoul1491 3 роки тому +1

      this sound really good

  • @shawnjames3242
    @shawnjames3242 4 роки тому +175

    I just learnt that I know a programming language without me even knowing it

    • @aditikhedkar8514
      @aditikhedkar8514 4 роки тому +2

      😆😂😂😂😂

    • @gio4690
      @gio4690 4 роки тому +1

      Its bot a programming language it practically is javascript's extension

    • @gio4690
      @gio4690 4 роки тому +1

      Not*

    • @mateuszabramek7015
      @mateuszabramek7015 4 роки тому +1

      @@masternobody1896 - _- no

    • @jodazague8333
      @jodazague8333 4 роки тому +1

      ​@@gio4690 it's a superset, but ok

  • @heavydirtysoul1491
    @heavydirtysoul1491 3 роки тому +5

    You have definetely convinced me that TS is a great thing to know.
    Of course, if it makes your JS much more flexible and learning TS doesn't cost a lot of time, so why not?

  • @r_m5545
    @r_m5545 4 роки тому +11

    Thanks tim for the video I have been hearing this buzz word "Typescript" a lot on my feed but never knew what that actually is.. 🙌

  • @CocosEngine
    @CocosEngine 3 роки тому +11

    Great video, we love TypeScript for our 3D game engine. We'll be sharing this with our readers!

    • @getrekt8365
      @getrekt8365 3 роки тому +2

      Thats funny!
      I came to this video because i was searching for typescript to use with your new cocos creator.

  • @jeromecodes2111
    @jeromecodes2111 4 роки тому +62

    “Ja-vah script”

  • @djdankmemes9257
    @djdankmemes9257 3 роки тому +2

    Great video. Really clear and concise explanation. You're a surprisingly talented teacher. Keep it up man!

  • @PedroLopez-vx3zw
    @PedroLopez-vx3zw 2 роки тому

    Great overhead description!

  • @officesuperhero9611
    @officesuperhero9611 4 роки тому +1

    Interesting. I’ve wanted to learn TS. It’s used to create custom visuals in Power BI, which I work extensively with.

  • @femaledeer
    @femaledeer 4 роки тому +40

    Yes, another language to learn on top of React, Javascript, Java, Python, C++, Spring etc. There must be a lot of brillant people that can learn all of this in under 10 years.

    • @ezwalduzumaki3161
      @ezwalduzumaki3161 4 роки тому +7

      learn the right thing. currently looking for a front end developer job, know atm react redux angular ts node html css js firebase

    • @Truth___
      @Truth___ 4 роки тому +1

      @@ezwalduzumaki3161 🤣🤣so much to learn

    • @aybarsacar9375
      @aybarsacar9375 4 роки тому +10

      if you know js you can get comfortable with ts in one day

    • @flowerofash4439
      @flowerofash4439 2 роки тому +3

      right? people really do solve problem by creating another problem

    • @Mohamed.U3
      @Mohamed.U3 5 місяців тому

      Well I just started front end development and I have researched the most common skills required and basically this is what I have found:
      -HTML (fundamental).
      -CSS (fundamental).
      -JavaScript (fundamental).
      -TypeScript(optional but helps a lot and it's really needed in the market).
      and then the last thing to learn is ONE of the frameworks(you could learn more later when you land a job):
      1-React.js (the easiest to learn and the most famous one and also used in mobile app dev which is a plus).
      2-Angular.js ( it's also famous in the market).
      3-Next.js.
      4-vue.js.
      While learning the fundamentals and one of the frameworks I recommend applying for jobs even if you are not ready so that you can understand what does the interviewer ask and also you might land a job (might don't get your hopes too high up).
      Also make sure to always look for internships even if they don't pay you.

  • @programmingwithnit5308
    @programmingwithnit5308 Рік тому

    Thank you so much for sharing.🙏🙏

  • @theusurper
    @theusurper 4 роки тому +8

    Thank God for this YT Channel
    You're an Inspiration Tim🙌🙌

  • @nicetomeetugaming7024
    @nicetomeetugaming7024 2 роки тому

    Thanks for this amazing video!

  • @abdicodes
    @abdicodes 4 роки тому +4

    bro, your thumbnail game has been on a whole other level lately!

    • @TechWithTim
      @TechWithTim  4 роки тому +1

      Thanks!!

    • @sudhamajayanthi
      @sudhamajayanthi 4 роки тому +1

      @Tech With Tim Hey bro! I’m currently learning Flask-Python , Can you show me some goods videos wherein I can learn about JavaScript needed to do some frontend stuff with Flask webapps..... there’s lots of JS videos out there I don’t know what to learn first about.... I came to know that there something called AJAX (which is related to JS I think).... Can you tell about some more topics/libraries/frameworks (using JavaScript or even Python maybe) which you think could be useful to know while doing Flask webapps ! Please share a list of topics which I should learn in an order or please share some videos if possible..... Anybody’s advice would be very helpful to me. I’m very much interested to learn new things ! Thank you !

  • @gueyenono
    @gueyenono 2 роки тому

    The plot at the 20s mark was made with the ggplot2 package in R, my favorite language.

  • @2MARR8
    @2MARR8 4 роки тому

    Another thing to add to my to do list

  • @thebugcoder3391
    @thebugcoder3391 Рік тому +2

    TypeScript tutorials would be awesome lol 🔥🔥🔥

  • @BrandonJacobson
    @BrandonJacobson 4 роки тому

    Dang, you’re on fire pushing out a ton of videos. I can’t keep up trying to watch them all.

  • @JFKTLA
    @JFKTLA 2 роки тому +1

    great content you really nailed the explanation, i think i might add typescript to my knowledge... i understand javascript but i dont know if I should learn react, ive been avoiding it seems like so much going on.

    • @ahmadhafez9090
      @ahmadhafez9090 Рік тому +1

      U mean react the library u use to create a website?

  • @DevlogBill
    @DevlogBill 2 роки тому +1

    QUESTION: I haven't seen typescript yet, I will after this video. But from what you have said so far is typescript like Java or C# where you have to put int when you're creating a numbered type of variable? For example:
    int numberOne = 1;
    Just curious I will find out myself and thanks for an excellent video, never heard of typescript till I watched your video.

  • @francnuke
    @francnuke 3 роки тому

    First time watching any of his videos. I like it! Subscribe!

  • @hasiburrahman9392
    @hasiburrahman9392 3 роки тому

    Hey Tim, I always like your video.

  • @mechantl0up
    @mechantl0up 3 роки тому +4

    Based on what I hear from industry, TS is rapidly replacing JS in new projects.

  • @gary3548
    @gary3548 3 роки тому

    Have we gone back in time? You are the guy that made facebook right?! Great video by the way!

  • @Tech-wn8tp
    @Tech-wn8tp Рік тому

    nice tutorial i need that

  • @antipainK
    @antipainK 4 роки тому

    Well, I wanted to get to know TypeScript to create Flutter applications, but the widget interface there - that was the one thing I didn't like, but maybe in the summer ill get into that ;)

  • @tiga1662
    @tiga1662 4 роки тому

    Tim you are so smart and awesome!!

  • @ryecabansag5685
    @ryecabansag5685 4 роки тому

    you look like a gamer and a programmer at the same time. pretty cool.

  • @raba650
    @raba650 2 роки тому

    So if I took a college C++ course and then went into JavaScript, would Typescript resemble C++’s data type declarations for variables and function returns?

  • @NaveenKumar-oh3sr
    @NaveenKumar-oh3sr 4 роки тому

    finally tim delivers a expecting video.

  • @Hikari-sj8vn
    @Hikari-sj8vn 4 роки тому +1

    I don't know if you will even read or care about this comment, but: Could you do a tutorial series about this language? You said it's really similar to JS, but I'd like to see a series about this language. The fact, that many people went from Kotlin to TS is insane. I'd really like to get a response, even if it is a no! Thank you for the informative video, Tim!

  • @JonathanTash
    @JonathanTash Рік тому

    I'm having to move from GDScript to JavaScript and that's the first thing that irked me: no static typing! I'm glad I learned about TypeScript,

  • @mastershooter64
    @mastershooter64 4 роки тому +33

    do you know what you SHOULD! learn?
    you should learn to make a programming language
    cmon Tim release a video on assembly languages.

    • @bigfatcrab
      @bigfatcrab 4 роки тому

      Example Example
      He want Timmy Turner and his fairies to dig deeper

    • @kensei4237
      @kensei4237 4 роки тому +1

      Creating your own programming language would be a dream ❤️

    • @inuke4fun832
      @inuke4fun832 4 роки тому

      @Example Example thats a stupid statement thats just plain and simple not true in almost every scenario it 100% depends on who you are and how you learn and for alot of people watching videos on something and following tutorials are as good if not better then reading a book and vice versa and to your point that C/C++ and Assembly are harder languages I have to disagree with you there aswell ive used both low and high level languages pretty extensively and the differences of the languages in my opinion dont make them harder then something else and they dont make the viability of tutorials any worse either basically im saying dont go around shaming someone for any one way they learn things a book and a video can have the same affect

    • @techbhanucomputer4389
      @techbhanucomputer4389 3 роки тому +1

      @@kensei4237 wo, why do you think so, then how do you think is python, vc++ and how do you think type script is made. it's made by some person or group of people. i don't agree to this statement.

  • @simple8810
    @simple8810 3 роки тому

    even in pure js it gives msg like red lines or sth like that for writng worng sytax or missing sth meas for debugging but in IDE like vs code

  • @migueldomingos4570
    @migueldomingos4570 4 роки тому

    Could you talk about your internship in Microsoft?

  • @SpaceTimeBeing_
    @SpaceTimeBeing_ 4 роки тому +1

    Can't you do that conversion with kotlin too

  • @AhmedHassan-jo1il
    @AhmedHassan-jo1il 4 роки тому +1

    So for those who were planning learning js should we switch to ts instead?

    • @TechWithTim
      @TechWithTim  4 роки тому +7

      Well you’ll have to learn both pretty much! I would just learn js then learn typescript

  • @ZAKINGOFDESPAIR
    @ZAKINGOFDESPAIR 4 роки тому +1

    One doubt, should I learn typescript at the time I am in my learning stage of learning javascript. Should I just ditch javascript, or should I get a good grasp on javascript both in theory and practical sense, and THEN, when I will be later going on with some projects, you know, when I am like DONE with javascript, and then pick typescript to purify my javascript or web dev skills ?

    • @dibashthapa4773
      @dibashthapa4773 4 роки тому +1

      Learn JavaScript first . Learn dom manipulation and add some tweaks to your code. Don't rush to learn new language if you cannot grasp one language properly

    • @ZAKINGOFDESPAIR
      @ZAKINGOFDESPAIR 4 роки тому

      @@dibashthapa4773 yeah, thanks.
      I have already learnt dom manipulation, and now I am just practising my skills with some small side projects, u know, like, a to do app, tic tac toe (which btw has a terrible game design), a simple clock work, like that. And then would wanna go with js animations.

  • @kakashisenpai99
    @kakashisenpai99 4 роки тому

    I'm a fan of this guy .

  • @fitindiandev4112
    @fitindiandev4112 3 роки тому

    Great Channel

  • @arnabbanerjee4061
    @arnabbanerjee4061 Рік тому

    If a large object gets complied to a normal object in JavaScript from TypeScript after writing and defining types for each key values taking 30 lines and more time then why should we not write that same object correctly in JavaScript.

  • @kotnikrishnachaitanya
    @kotnikrishnachaitanya 4 роки тому +3

    Should we learn Java script and then learn TS

  • @YannMetalhead
    @YannMetalhead 2 роки тому

    Good video.

  • @AlokSingh-rj1gt
    @AlokSingh-rj1gt 2 роки тому +1

    Imagine something for Python as TS for JS. I mean if we have a language, having syntax like Python (with type annotation) and speed like C/C++, Most of the language will become absolute.

    • @s1nistr433
      @s1nistr433 Рік тому

      from __future__ import annotations

  • @jeepneygang
    @jeepneygang 3 роки тому

    In that picture at 3:23 did he use type script inside of a React file?
    I guess you can do that

  • @l_combo
    @l_combo 4 роки тому +1

    small typo 1:49 == TypeCrypt ;)

  • @hassannaghibi1979
    @hassannaghibi1979 2 роки тому

    tnx

  • @sanuk9650
    @sanuk9650 3 роки тому +1

    when I try to compile a typescript file using command tsc name.ts it's throwing a error that tsc.ps1 can't be loaded in vscode
    any fix for this??

    • @herre3147
      @herre3147 3 роки тому

      Kinda late but try tsc.cmd name.ts

  • @kartikeyadubey9211
    @kartikeyadubey9211 4 роки тому +3

    I'm trying to get into web development and am currently learning CSS, already done with HTML basics
    I have no knowledge of JavaScript, so should I learn that next or should I start with Typescript itself?

  • @mayurnagrale5798
    @mayurnagrale5798 4 роки тому

    when you gonna put the next video of go??

  • @akiratoriyama1320
    @akiratoriyama1320 4 роки тому +10

    I get a sense that after GO we could see some TS coding??!!

    • @TechWithTim
      @TechWithTim  4 роки тому +2

      Possibly?!

    • @migueldomingos4570
      @migueldomingos4570 4 роки тому +1

      @@TechWithTim Please do that Tim!

    • @sudhamajayanthi
      @sudhamajayanthi 4 роки тому +3

      @Tech With Tim Hey bro! I’m currently learning Flask-Python , Can you show me some goods videos wherein I can learn about JavaScript needed to do some frontend stuff with Flask webapps..... there’s lots of JS videos out there I don’t know what to learn first about.... I came to know that there something called AJAX (which is related to JS I think).... Can you tell about some more topics/libraries/frameworks (using JavaScript or even Python maybe) which you think could be useful to know while doing Flask webapps ! Please share a list of topics which I should learn in an order or please share some videos if possible..... Anybody’s advice would be very helpful to me. I’m very much interested to learn new things ! Thank you !

    • @SethSetiadha
      @SethSetiadha 4 роки тому

      I'll vote for TS

  • @adityasuryawanshi3263
    @adityasuryawanshi3263 4 роки тому

    Did typescript kicked in because of the Microsoft internship or you knew it before joining the internship? Also I did not see typescript in your resume, did you learn it during your internship?

  • @SkyFly19853
    @SkyFly19853 4 роки тому

    Good for web development?...

  • @beratgokgoz9135
    @beratgokgoz9135 3 роки тому

    if typescript would really checked static types, then it would be really typescript. because typescript can't predict the response coming from server, or the type user enters. if it would transpile sth to javascript like this:
    TS
    function(a:number){ some code }
    to JS
    function(a){ if(typeof a!=="number") return; some code}
    then it would be really useful but it is not.

  • @someoneyouveneverheardof
    @someoneyouveneverheardof 4 роки тому +1

    Finally!!

  • @kelechinelson8907
    @kelechinelson8907 3 роки тому

    Can I learn typescript in place of Javascript? I know HTML and CSS. I was about to learn javascript when an acquaintance told me to look into typescript instead. What do you guys think?

  • @VeereshPatel15
    @VeereshPatel15 4 роки тому

    Can we expect Angular or react js course from u

    • @samarmohan9891
      @samarmohan9891 3 роки тому

      There are so many other tutorials about Angular and React. Tim is a "backend" or "Python" developer so no.

  • @morty6224
    @morty6224 4 роки тому +1

    Is golang series over

  • @blasttrash
    @blasttrash 4 роки тому

    world is going back to the days of java and c#

  • @nicknico4121
    @nicknico4121 Рік тому

    Why is there always a new language that gets created instead of just updating the top 10 that already have been existing for the past 20 years?

  • @L-8
    @L-8 2 роки тому +1

    I wonder what the people who watched this muted with captions were thinking...........

  • @somnvm37
    @somnvm37 3 роки тому

    So, typescript is just like SASS at that point?

  • @youtubewts
    @youtubewts 4 роки тому +3

    "TYPECRIPT" Doh! 🤦‍♂️😂 Great video though. Useful for sending on to others who query this.

  • @thedevhassan
    @thedevhassan 4 роки тому +1

    You design your thumbnail by yourself???

  • @RekhaGujar83
    @RekhaGujar83 4 роки тому

    Good bro come to js world

  • @Ninja-vl5qz
    @Ninja-vl5qz 4 роки тому

    When will python live classes start

    • @TechWithTim
      @TechWithTim  4 роки тому +1

      No promises yet

    • @sudhamajayanthi
      @sudhamajayanthi 4 роки тому

      @Tech With Tim Hey bro! I’m currently learning Flask-Python , Can you show me some goods videos wherein I can learn about JavaScript needed to do some frontend stuff with Flask webapps..... there’s lots of JS videos out there I don’t know what to learn first about.... I came to know that there something called AJAX (which is related to JS I think).... Can you tell about some more topics/libraries/frameworks (using JavaScript or even Python maybe) which you think could be useful to know while doing Flask webapps ! Please share a list of topics which I should learn in an order or please share some videos if possible..... Anybody’s advice would be very helpful to me. I’m very much interested to learn new things ! Thank you !

  • @divdojo2309
    @divdojo2309 4 роки тому

    Where is the code?

  • @rajatmehra2186
    @rajatmehra2186 4 роки тому

    please make a complete tutorials of typescript

  • @aghileslounis
    @aghileslounis 4 роки тому

    But you can't use TS if you don't use Angular, so it is not recommanded for everyone, you can't code in TS in React or Vue even others i think, maybe i'm wrong but i think TS is good but no one use it

    • @TechWithTim
      @TechWithTim  4 роки тому +1

      yes you can 😂 you can use typescript without a framework and it’s used by almost all major front end applications. It’s kinda industry standard to use it now over just regular js

    • @aghileslounis
      @aghileslounis 4 роки тому

      @@TechWithTim But i don't understand what you can do with pure TS or JS, especially in larger projects i thought we use frameworks no ? i'm confused

    • @FirstnameLastname-cl4op
      @FirstnameLastname-cl4op Рік тому

      Now react-natice version 0.71 has TS as it's default instead of js

  • @bedrockcoder5169
    @bedrockcoder5169 3 роки тому +1

    1:40 TYPECRIPT should be TYPESCRIPT

  • @GelsYT
    @GelsYT 4 роки тому +1

    Hello :D

  • @sudhamajayanthi
    @sudhamajayanthi 4 роки тому +1

    @Tech With Tim Hey bro! I’m currently learning Flask-Python , Can you show me some goods videos wherein I can learn about JavaScript needed to do some frontend stuff with Flask webapps..... there’s lots of JS videos out there I don’t know what to learn first about.... I came to know that there something called AJAX (which is related to JS I think).... Can you tell about some more topics/libraries/frameworks (using JavaScript or even Python maybe) which you think could be useful to know while doing Flask webapps ! Please share a list of topics which I should learn in an order or please share some videos if possible..... Anybody’s advice would be very helpful to me. I’m very much interested to learn new things ! Thank you !

    • @dibashthapa4773
      @dibashthapa4773 4 роки тому

      It seems like Tim didn't reply you. Learn vanilla js basics first and switch to jQuery. I recommend you to use Ajax with jQuery for adding front end functionality to your site.
      If you want to render html elements without reloading the webpage then you should use Ajax.
      I wonder why did u switch to backend if you didn't learn front end

  • @morty6224
    @morty6224 4 роки тому +1

    Start a python hacking series

  • @swibay
    @swibay 3 роки тому

    Golang crushes everything 😂😂😂

    • @Collins01
      @Collins01 3 роки тому

      I'm definitely confused on what to pick..

  • @h_maina
    @h_maina 2 роки тому +2

    Maybe it's time I start staying away from youtube when I'm already learning something.

  • @decodedbunny101
    @decodedbunny101 4 роки тому +8

    Does it have something like batch?
    :go
    Echo Owo
    Goto go

  • @ghaith99000
    @ghaith99000 4 роки тому

    I think this language is easy for java developers.

  • @PandalfGaming
    @PandalfGaming 2 роки тому

    Fact- Vscode is written in typescript

  • @simajacob7416
    @simajacob7416 4 роки тому

    Tim are you still at university?

  • @robotjeans
    @robotjeans 4 роки тому

    It’s misleading to say Typescript is a language, I can see from the comments with people asking “should I learn Typescript or JavaScript”

  • @BenyThePooh2
    @BenyThePooh2 3 роки тому +1

    Remember kids. TypeScript is one lettrr away from HypeScript!

  • @markogartnar5658
    @markogartnar5658 4 роки тому

    Did Microsoft make you learn it?

    • @TechWithTim
      @TechWithTim  4 роки тому +2

      They didn’t force me to learn it but I need to use it every day 😂

  • @romakv4
    @romakv4 4 роки тому

    30 may 2020, really???

  • @In_Case_Im_Fake
    @In_Case_Im_Fake Рік тому

    "has better features than native javascript" but "can be transposed into javascript"??????

  • @knowledgeknights2762
    @knowledgeknights2762 4 роки тому +1

    Goooooooooo

  • @e5caflowne500
    @e5caflowne500 4 роки тому

    Better use Python...

  • @andronasef
    @andronasef 3 роки тому +1

    How old are you now?
    You Look Too Young! To Know All These Things!
    Any Advice To Be Real Programmer Like You?

  • @ebratz
    @ebratz 4 роки тому

    Typescript is not a programming language!!!! TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.

  • @dzonemanarmy
    @dzonemanarmy 3 роки тому +1

    Tim, Please don't be offended, but you in this video thumbnail look exactly like this one from Halo infinite's Craig !
    freegametips.com/wp-content/uploads/2020/08/Halo-Infinite-Craig-the-Brute-of-the-meme-is-the-1024x576.jpg

  • @MadlipzMarathi
    @MadlipzMarathi 4 роки тому +2

    It's made by Microsoft,
    No thanks