TypeScript - The Basics

  Рет қаралды 1,575,637

Fireship

Fireship

Күн бұрын

Пікірлер
@JonSmoley
@JonSmoley 6 жыл бұрын
these videos are *money*. Perfectly spoken english at a confident pace with easy-to-understand concepts is such a rarity to find--easiest sub of my life! Love the framework-agnostic videos!
@Fireship
@Fireship 6 жыл бұрын
Thank you Jon!
@TFBCountryBoy
@TFBCountryBoy 4 жыл бұрын
@@classact9144 Why so aggressive?
@miltonlaxer
@miltonlaxer 4 жыл бұрын
There is nothing on KZbin (for devs) that can even touch the quality of this channel.
@antihuman007
@antihuman007 4 жыл бұрын
+1 this
@sushydev
@sushydev 4 жыл бұрын
I dont usually comment on youtube but i have to say, ur 101% right
@sete794
@sete794 2 жыл бұрын
For future reference: 1:43 Getting started 3:00 tsconfig.json 4:30 Third party libraries 5:09 Type annotations 6:38 Custom types 8:12 Types in functions 9:22 Arrays 10:32 Generics
@logs
@logs 2 жыл бұрын
U a real bro
@skaffen
@skaffen 2 жыл бұрын
As someone from the future, thank you
@1vEverybody
@1vEverybody Жыл бұрын
As someone from further in the future, thank u
@nullbeyondo
@nullbeyondo Жыл бұрын
As someone from even more future, this became useless as the video was updated with the Chapters feature lol.
@sete794
@sete794 Жыл бұрын
@@nullbeyondo as someone from the present I'm glad this was useful for some time
@DerSpudi
@DerSpudi 5 жыл бұрын
Wow, you just absolute sold me on TypeScript. I come from a Java background, and this is all I ever missed in plain JavaScript!
@algj
@algj 4 жыл бұрын
I was missing Java because of how strongly typed it was. I was afraid of learning typescript because I thought it's hard, but this man teached it in couple of minutes! What a legend. Edit: corrected one word
@bajojohn
@bajojohn 4 жыл бұрын
I was thinking, “so this turns JavaScript into a real programming language. Cool.”
@mohammedaliagha7520
@mohammedaliagha7520 4 жыл бұрын
@ChoppedBlade but... Node can use typescript? And node only runs on the backend? What are you even saying?
@mohammedaliagha7520
@mohammedaliagha7520 4 жыл бұрын
@ChoppedBlade typescript compiles down to JavaScript. It can compile down to browser compatible js that uses the dom, or Node.js Javascript that uses node apis like fs, http, etc. That doesn't mean it's the same as nodejs
@marcocaniglia3061
@marcocaniglia3061 3 жыл бұрын
same
@naveedalirehmani4135
@naveedalirehmani4135 3 жыл бұрын
These videos are Gold, 1. includes almost everything you need to know for day to day tasks. 2. to the point without wasting any time. 3. English is very clear to understand and words are chosen very wisely. 4. easily and useful example so you can understand code fast and better THANK YOU VERY MUCH
@HdeHidratado
@HdeHidratado 4 жыл бұрын
This video presented me to Typescript. After sometime learning it, I now have a full time job in development. Thank you very much. This and many other of your videos helped me so much to get were I am today.
@BrianDeSousa
@BrianDeSousa 6 жыл бұрын
I have been using Typescript for a bit but always learn something new when watching your videos. Today it was adding a key property to an interface to allow classes implementing that interface to include additional properties. Great video!
@Archnemesis88
@Archnemesis88 3 жыл бұрын
As I become a better programmer, your videos have become some of my favourites. You give a nice birds eye view that makes diving into documentation way easier!!!
@sakariyam1610
@sakariyam1610 3 жыл бұрын
Had a interview question about what was the difference between typescript and JavaScript and this video saved my life.
@alexcubed4270
@alexcubed4270 6 жыл бұрын
This video was incredibly helpful! I have known about TypeScript for a while but never really understood what its use was over plain JavaScript. Now I'll probably start using it more than JavaScript.
@Fireship
@Fireship 6 жыл бұрын
You will never look back
@arcticspacefox864
@arcticspacefox864 6 жыл бұрын
@@Fireship its so true
@Fireship
@Fireship 6 жыл бұрын
@Dark Magician I almost mentioned strict mode but it just didn't quite fit with the flow of the video
@aitchd2229
@aitchd2229 6 жыл бұрын
@@Fireship you should have :-(, but still, amazing vidéo... thank you! :-D
@nidavelliir
@nidavelliir 6 жыл бұрын
Yeah, I can't go back to vanilla JS now
@_romeopeter
@_romeopeter 3 жыл бұрын
I didn't want to learn Typescript but after applying for jobs and seeing it as a requirement, I had to check it out and I've become interested in it. It is super powerful and the learning is quite easy. The data typing is quite similar to Python’s code hinting and annotation. Glad I saw this vid.
@ikezedev
@ikezedev 6 жыл бұрын
Object oriented /functional programming in TS please.... I love this one 😍
@elmeroranchero
@elmeroranchero 4 жыл бұрын
your wish is his command :)
@KostiaBazrov
@KostiaBazrov 4 жыл бұрын
Fc you!!!!
@aspected
@aspected 4 жыл бұрын
This video was incredible. TS looked so complicated but I UNDERSTAND IT NOW. Ten minutes well spent. Thank you!
@yuudaemones2624
@yuudaemones2624 4 жыл бұрын
This channel is low-key the best web dev value watch on youtube.
@yashjain611
@yashjain611 6 жыл бұрын
Its just AWESOME. Instead of 1-2 hours basics, you have covered most of typescript in just 12 minutes. Beginners should also go through this video so that they can jump off to other concepts in very less time. +1 for this short and sweet but effective video over Typescript. I have watched your other videos also , you are AWESOME man. Straight to the point and you have not more that 15-20 minute videos. Great job dude. Keep it up. Liked it.
@morningstar-1112
@morningstar-1112 5 жыл бұрын
You are such a good teacher for those who really want to be a good coder, I love your videos thank you so much for this.
@DEVDerr
@DEVDerr 6 жыл бұрын
Lol... Finally now there is a video with most practical use cases with TypeScript functionality and best shared experience with this technology ive seen so far. And its not boring, even if i knew this stuff already. Like button clicked, good job buddy! Keep going. P. S I'm definitely waiting for OOP. That's going to be amazing.
@Fireship
@Fireship 6 жыл бұрын
Glad to hear that!
@michiel97531
@michiel97531 2 жыл бұрын
I have been struggling for years in javascript and today i discovered this. I litterally looked up i hate weak typed js and found this. I'm so happy
@zoecarlibur
@zoecarlibur 6 жыл бұрын
I fell in love with TypeScript almost as soon as I heard about it. An unexpected benefit of TypeScript is you can now learn C# very easily if you want to. The syntax are very similar.
@Methodician
@Methodician 6 жыл бұрын
Fantastic! Please do object oriented vs functional. I've been using TypeScript for years and I learned a few things... Your videos are consistently great!
@newbienate
@newbienate Жыл бұрын
Where is it ? Is that oop vs functional out ?
@jamesscarr3372
@jamesscarr3372 Жыл бұрын
kzbin.info/www/bejne/nKS5fZKup76CZtk
@JMRolf1
@JMRolf1 5 жыл бұрын
Been using it for like 3 years now. Loved your overview. Will share this with some of the junior devs on my teams. Thanks!
@aidThompsin
@aidThompsin 3 жыл бұрын
Feeling this. I think it's the first clearly communicated TS tutorial that hasn't left me banging my head against the desk.
@NewbTube69
@NewbTube69 5 жыл бұрын
You absolutely crushed it in this video. You wasted no time explaining and covered quite a bit in the 12 minutes. Subscribed!
@kennethdev
@kennethdev 4 жыл бұрын
Wow, thank you for this awesome intro to TypeScript! I have been working at an internship this summer, and yesterday I ran into some TypeScript. I had a background in JavaScript already, but I searched for a crash course just to be safe. This came up first, and in twelve minutes, I got a good handle!
@kamboj65
@kamboj65 2 жыл бұрын
I'm newbie of Typescript and this help me a lot to understand the syntax and how is different from Javascript.
@dandandrorivolleyball
@dandandrorivolleyball 3 жыл бұрын
It's been 3 years now since the video was released, and we NEED an ADVANCED typescript crash course
@atmanirbharladka4467
@atmanirbharladka4467 4 жыл бұрын
My man taught me hours of typescript in 12mins.
@adamg9834
@adamg9834 4 жыл бұрын
I have so many regrets as a junior developer. I contributed a bunch of angular 7 code at a startup I work at. I had no web development experience, but regardless I needed to finish my tasks as they're assigned, so I mostly focused my efforts on learning the Angular framework (which I absolutely love tbh) and the bare minimum JS. God the web project has gotten so big now, and I really wish I fully embraced the typescript... Future junior web devs out there, heed my warning: don't neglect TS! I feel like I'm stuck conforming to bad habits for the sake of consistency.
@yash1152
@yash1152 Жыл бұрын
thanks a lot for ur words. i am just starting with web-dev; & as i already over complicate _alll_ the things a lot (just for this correctness sake) i was thinking of giving myself some slack for choice of *script. but thanks. ur words have steered me in right direction in this area too.
@badwolf9090
@badwolf9090 5 жыл бұрын
I've been busy with C# and JS all day today. I'm basically burnt out and then KZbin recommenced your video and I enjoyed every single second. TS has been something I've had my eye for a while and this video just made me want to go out and give it a go.
@aaa15119
@aaa15119 3 жыл бұрын
thanks so much for every single tutorial. I was smashing my head on the wall day and night and couldn't sleep well because I did not fix the error! thanks so much
@mubafaw
@mubafaw 3 жыл бұрын
Best concise beginners intro tutorial ever on typescript, with best practice! 😊 I like your no BS approach, straight to the point. 😊 You're blessed with the gift of teaching! Keep going 😊 We'll applaud you. 😊
@heinrichwoogue8887
@heinrichwoogue8887 6 жыл бұрын
The reason I love angular is because of Typescipt. Great intro to Typescript. Keep the videos coming
@jagzviruz
@jagzviruz 6 жыл бұрын
This is the first time, I want to try working with Typescript. Great delivery.
@jimihenrik11
@jimihenrik11 4 жыл бұрын
This video has the perfect pace and amount of information for people who know js and want to get into ts. awesome!
@cazino4
@cazino4 3 жыл бұрын
Hey, great tutorial. Been using the ES6 version of JS in both frontend browser-based apps and backend NodeJS apps for some time now and whilst its marked improvement over prior versions (owning to the first class support for classes, objects and inheritance, etc) one thing that its missing, in my view, as an engineer used to working with fully fledged backend languages (I,e Java,Go,etc) , is Strong Typing. String Typing is useful for many of the reasons you cited in your video, principal among them: the ability to detect type mismatch (and related) errors at compile time rather than at runtime, which in and of it self may go some way to preventing the occurrence errors that can be incredibly difficult to reproduce and diagnose. I also love the fact that Typescript is essentially backwards compatible with JS, on account of it being a super set of the language; I may actually use Typescript on my next project and that is, in no small part, due to the clarity and intuitive exposition of this tutorial. Thank you!
@QQ-gn7tc
@QQ-gn7tc 3 жыл бұрын
This Channel really really deserve more. This video is one of many successful videos on this channel to deliver big topic in few minutes. All respect.
@andythedishwasher1117
@andythedishwasher1117 2 жыл бұрын
This was excellent. I would really love to see the object oriented/ functional programming in TS episode. That's been an object of curiosity for me lately.
@kalusharma2201
@kalusharma2201 6 жыл бұрын
Honestly best tutorials on KZbin. I wish you made videos for advanced Javascript stuff not focused just around angular ;)
@محمدجوادمیرجلیلی-ص2ر
@محمدجوادمیرجلیلی-ص2ر Жыл бұрын
it was the best typescript crash course i've seen in youtube
@zaaaff
@zaaaff 6 жыл бұрын
One of the best channels! I really like the way you explain, edit the videos and keep your screen clean. Please, keep that quality. I was planning to learn React, but since your videos are so cool I'm now thinking to learn angular. Just because wanna see more videos on this channel.
@MrPandaGuo
@MrPandaGuo 3 жыл бұрын
sooo smoothly edited video, I love these informative basic videos.
@aaenndeeerreeess
@aaenndeeerreeess 2 жыл бұрын
Just the right amount of information in a good pace to give the understanding of basics.
@tsvetanpetrov5971
@tsvetanpetrov5971 4 жыл бұрын
I'm just thinking what should be my next step as a software engineer and I was thinking about TypeScript. Your tutorial really helped me feel that this is the direction i would like to go!
@nechitagabrieldotro
@nechitagabrieldotro 6 жыл бұрын
Another great video from Jeff. This video is great as a soft introduction to TypeScript, and why is it very useful. And for the next TS video, OOP in TypeScript will be "sequel" to this video.
@dionfullysus
@dionfullysus 3 жыл бұрын
Good video, much better than majority of the stuff I find on KZbin for referencing.
@dreewhispers9408
@dreewhispers9408 2 жыл бұрын
I love Fireship videos, it's like the author always values our time
@apachurrooriginal
@apachurrooriginal 3 жыл бұрын
Wow, Those 12 mins are the best 12 mins invested in my life ! I felt like I am on The Matrix. :-P Learn TS in 12 mins :-D Excellent video and very well explained the most important concepts.
@remboldt03
@remboldt03 Жыл бұрын
This video helped a lot. Like you, I didn't even want to start learning TypeScript, but I was kinda curious what it's all about. I'll now use TypeScript as well xD
@cll1out
@cll1out 5 жыл бұрын
Wow. I came here just to get an idea of differences now I actually want to research it and learn it.
@djpunisha29
@djpunisha29 6 жыл бұрын
amazing ability to explain, clear, fast, concise, you should be a university professor :)
@elmotareal
@elmotareal 6 жыл бұрын
First time i watch one of your videos and feel like I'm ahead! And i have 22 years of JavaScript experience, feels good :)
@wepranaga
@wepranaga 5 жыл бұрын
really good video. it doesn't spam you with opinions and perspective. but actually show you stuff. great
@jonasfelix7700
@jonasfelix7700 6 жыл бұрын
Rocking it again! Absolutely smooth and most efficient intro to typescript.
@janardhancv1127
@janardhancv1127 6 жыл бұрын
I like your videos which forces me to focus more as it is in the perfect speed mode. Looking forward for the TypeScript Deep dives...
@logusgraphics
@logusgraphics 5 жыл бұрын
One of the greatest advantages of people coming from the Angular 2 framework. To know TS out of the box. I love to use it with React and Node JS services and share models of objects back and forth in a mono repo.
@KaushikRao
@KaushikRao 6 жыл бұрын
Thanks Jeff for an awesome content as usual. Love your tutorials and the way you explain. This was more useful.
@Orion3000k
@Orion3000k 3 жыл бұрын
Incredible video. I definitely am starting to learn Typescript these days.
@lubutostimeline1304
@lubutostimeline1304 3 жыл бұрын
Leant typescript in less 12 minutes, now that's how a tutorial should be done. Keep it up good work. A like and a sub from me
@MalikDixon
@MalikDixon 6 жыл бұрын
I am just learning Typescript having lots of fun. A t-shirt would be nice too.
@seannorton2839
@seannorton2839 6 жыл бұрын
Awesome video, this year I started working with TS and have grown to love it. 🤘🏻
@4MXW
@4MXW 2 жыл бұрын
I'm officially addicted to this.
@emergencyDuck
@emergencyDuck 2 жыл бұрын
They should put a link to this video in the middle of Angular's Hero tutorial, so many things make so much more sense now.
@UsefulProgrammer
@UsefulProgrammer 3 жыл бұрын
This video rocks. Thanks for putting this out there. I'd like to see a video on decorators in TypeScript. Also, a video on NestJS would be awesome.
@chema9364
@chema9364 6 жыл бұрын
Great video! Estoy empezando mi carrera como programador web y este video es perfecto para saber lo básico. Mil gracias por compartir.
@MiSt3300
@MiSt3300 2 жыл бұрын
how is your career going on 3 years later? Are you a programmer now?
@chema9364
@chema9364 2 жыл бұрын
@@MiSt3300 sí, soy front end developer hace 4 años, trabajo con Angular, y la verdad que muy bien estoy muy contento. Tu q tal?
@perodactyl490
@perodactyl490 3 жыл бұрын
I now LOVE typescript. :D It's like auto-docblocks for vscode to understand what I do! Thanks a lot!
@GibbzM8
@GibbzM8 6 жыл бұрын
Great quick start guide! Exactly what I was looking for rather than a ~1 hour snoozefest 😴😴
@saadabbasi2063
@saadabbasi2063 6 жыл бұрын
I started working with react after working with angular/TypeScript for more than 1 and half year , the react project wasn’t configured with TypeScript and it was a nightmare figuring out what is being passed to what and what is expecting what and why. There were n amount of type issues everytime TS is a bless for stability and readability
@Fireship
@Fireship 6 жыл бұрын
React just merged official TS support for create-react-app last month, so it seems to be improving
@saadabbasi2063
@saadabbasi2063 6 жыл бұрын
It was an awesome news, but unfortunately our project wasn’t configured using create-react-app boilerplate :/ but yeah good news for people starting doing things
@lexsoft3969
@lexsoft3969 4 жыл бұрын
Like you, my main reason for getting started to learn TS is Angular. It's time to learn both, because I don't want to only know and use React. I was interested in trying NestJs for the backend too, but lacking of TS skill prevented me. I read that Deno supports TS too.
@bencroacademy
@bencroacademy 3 жыл бұрын
Love your articulated vids that get me started with new concepts n frameworks . Time to do some TS on my projects ☺️
@zoranristov7349
@zoranristov7349 4 жыл бұрын
Amazing explanation, I subscribed right away. I hope to learn as much as I possibly can from your videos
@zacgrierson
@zacgrierson Жыл бұрын
Please do more videos on this channel, your good at these.
@codeswithankit4316
@codeswithankit4316 5 жыл бұрын
In this video, Knowledge is more than a hour lecture.
@alexcubed4270
@alexcubed4270 6 жыл бұрын
I would really love to see more of these videos, as I'm very new to TypeScript .
@osamaayub405
@osamaayub405 2 ай бұрын
this is really helpful just started to learn typescript recently.
@Luxcium
@Luxcium Жыл бұрын
So yeah you explain how to use the AI but the AI used your video as a reference for my tutorial this is awesome 👏🏼
@basarat
@basarat 6 жыл бұрын
Thanks for the shoutout. Appreciate it 🌹
@wiredelectrosphere
@wiredelectrosphere 4 жыл бұрын
I was a bit reluctant to learn ts 2 years ago. Now I can't imagine a serious project without It
@Jennifer-ow1xz
@Jennifer-ow1xz 5 жыл бұрын
5:40 you are wrong here, c# supports dynamic type. Example : dynamic abc = "text"; abc = 2; No errors here. Duck typing works also.
@welltypedwitch
@welltypedwitch 5 жыл бұрын
well, yeah but it's almost never actually used
@AshrafTarek
@AshrafTarek 6 жыл бұрын
Good and quick explanation. Maybe you could also do a video about Flow and put it with TypeScript into comparison.
@Fireship
@Fireship 6 жыл бұрын
That could be cool. Maybe throw Reasonml into the mix as well.
@thomasmundt8256
@thomasmundt8256 5 жыл бұрын
An excellent wrap-up of TS, short, sweet and up to the point. :-D
@CharlieKiloSierra8893
@CharlieKiloSierra8893 6 жыл бұрын
Finally i really understand what is the use of and the [varname?] thank you for making this video. Please do the oop and functional programming for typescript
@andrews8725
@andrews8725 6 жыл бұрын
JS devs that are hesitant to learn TS because of the "extra code" will realize the amount of time saved from out of the box auto-complete with documentation + compiler errors instead of nasty runtime errors is worth it 100 fold. Plus the extra code is only if you want to adopt typescript features....if you just decide to write vanilla javascript you can and you'll still get the benefit of the typescript compiler catching a lot of potential errors for you.
@TTTtowelythetowelTTT
@TTTtowelythetowelTTT 6 жыл бұрын
as more of a java/scala programmer, coding in js is my nightmare because there is always all kind of unexpected nasty stuffs that happens at runtime that could be resolved earlier and easily.
@anselmleo4146
@anselmleo4146 3 жыл бұрын
Wanted to subscribe only to discover I already did before now😄 You covered so much in so little time 👏👏👏
@ryzizub
@ryzizub 6 жыл бұрын
Helpflul as always! Thanks Jeff for your content. Typescript is life, typescript is love! :)
@dekcode2824
@dekcode2824 2 жыл бұрын
This covers my typescript daily basis.
@OhHeyK3vin
@OhHeyK3vin 6 жыл бұрын
Been seriously considering adding TS to my skillset. Seeing lots of job posts specifically looking for it.
@רועיכהן-ע4ד
@רועיכהן-ע4ד 3 жыл бұрын
5:45 You can "opt out" of the type system in C# with the dynamic type.
@arianvc8239
@arianvc8239 5 жыл бұрын
Great video! Please continue the TS series.
@DennisPing
@DennisPing 3 жыл бұрын
Great intro video. Excellent examples that show the cause & effect. I could already infer the syntax mid-way thru the video.
@danddbandb
@danddbandb 6 жыл бұрын
Things nowadays are getting smarter, and less clunky. Thanks for the video.
@KennyOscar
@KennyOscar 5 жыл бұрын
amazing video. Compact and very informational for anyone wanting to know what using Typescript is like
@darwin9111
@darwin9111 5 жыл бұрын
This was an amazing introduction to TypeScript. Thank you!
@narendrasinghrathore1012
@narendrasinghrathore1012 6 жыл бұрын
As i said earlier, quality content is what you deliver always in your videos.
@pavangrandhi
@pavangrandhi 9 ай бұрын
Very easily understandable language, Thank you.
@Gurpreetsingh-bl8gg
@Gurpreetsingh-bl8gg 6 жыл бұрын
Your tutorials and illustrations are really great 😄😄😄
@duketranslucent3rd
@duketranslucent3rd 3 жыл бұрын
Fabulous video - really good overview of TS. You lost me slightly on the observables bit at the end, but I can look that up.
@LalienX
@LalienX 3 жыл бұрын
Wow this is simpler than I thought. Great tutorial.
@guitaristofspeed
@guitaristofspeed 6 жыл бұрын
Learnt a lot from this, thanks. Would definitely like to see some more TypeScript videos!
@arunap4086
@arunap4086 6 жыл бұрын
Really loved the video, It would be really helpful if you make an entire series on typescript
@shashikumar-ut6uu
@shashikumar-ut6uu 6 жыл бұрын
I just watch your Videos before messing out with languages. Too good
@shalompope
@shalompope 6 жыл бұрын
This was very well done looking forward to object oriented vs functional programming
TypeScript Tutorial for Beginners
1:04:28
Programming with Mosh
Рет қаралды 1,4 МЛН
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,6 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Big projects are ditching TypeScript… why?
3:38
Fireship
Рет қаралды 1,4 МЛН
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 913 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 1,6 МЛН
10 regrets of experienced programmers
8:16
Fireship
Рет қаралды 1,6 МЛН
The Absolute Best Intro to Monads For Software Engineers
15:12
Studying With Alex
Рет қаралды 681 М.
Angular Tutorial for Beginners: Learn Angular & TypeScript
2:02:42
Programming with Mosh
Рет қаралды 4,5 МЛН
Generics: The most intimidating TypeScript feature
18:19
Matt Pocock
Рет қаралды 190 М.
Learn TypeScript in 50 Minutes - Tutorial for Beginners
48:11
Codevolution
Рет қаралды 852 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 938 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН