If you want to see TS in action, upgrade to Fireship PRO with this 40% off code (ends Nov 30th): mbus5Kcj fireship.io/pro
@jahadempire79344 жыл бұрын
Hi, is it possible; if you create a video/course on how you build your website?
@locus12894 жыл бұрын
Please make videos on Ionic React.
@kaidenrogers4 жыл бұрын
Damnit, I missed it
@acryliq4 жыл бұрын
@@kaidenrogers I was so concentrated on Laracasts, that I completely forgot about Fireship. The only other membership I am willing to purchase.
@911madza4 жыл бұрын
There are 2 kinds of people: those who love TS and those who have not used vanilla JS enough.
@leokiller123able Жыл бұрын
I prefer JS
@thatsalot3577 Жыл бұрын
@@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 Жыл бұрын
Haven't crossed that line yet but I plan to one day
@remboldt03 Жыл бұрын
I am transitioning right now
@leokiller123able Жыл бұрын
@@thatsalot3577 now I use typescript 🤣
@ProjectExMachina4 жыл бұрын
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
@InfinityOver02 жыл бұрын
Programmers are lazy by nature. Thus, :any.
@ericbwertz2 жыл бұрын
@@InfinityOver0 if they were that lazy, they wouldn't be using typescript in the first place, else stupid
@wendolinmendoza5172 жыл бұрын
@@InfinityOver0 thats feels like an excuse
@InfinityOver02 жыл бұрын
@@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 Жыл бұрын
@@InfinityOver0 disable any on ur tsconfig, done!
@devnol4 жыл бұрын
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.
@danimunf4 жыл бұрын
Yeah same dude. This video gives me weird confusion of understanding
@mduke1626 ай бұрын
Ditto. Loved it. javascript types, IDE, and interfaces....DONE!
@harisbashir27194 жыл бұрын
Web sockets in 100 seconds plz
@lohitakshtrehan63794 жыл бұрын
Would love this video. Also make a detail video along with 100 seconds
@Fireship4 жыл бұрын
It's on the list
@mateowang65704 жыл бұрын
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_li3 жыл бұрын
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-yk3nl2 жыл бұрын
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 }) ;
@EduardoMengesMattje2 жыл бұрын
🤓
@unknownguywholovespizza Жыл бұрын
@@EduardoMengesMattje I love books 📚
@codewithegaiАй бұрын
@@Jack-yk3nl that is expected behaviour. It is not an error.
@absbi00003 жыл бұрын
This is the best explanation of typescript I've seen yet. Thank you for detailing why it's so needed.
@blueberry5992 Жыл бұрын
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
@NauvalAzhar4 жыл бұрын
Awesome as always! HTTP in 100 seconds would be great.
@kid14126214 жыл бұрын
Http 1 2 3 per 100s
@jamesfoo89992 жыл бұрын
Could probs do HTTP in 20 seconds :P
@andifaizal6848 Жыл бұрын
Mas Nauval mampir disini
@NauvalAzhar Жыл бұрын
@@andifaizal6848 kita ketemu di mana-mana mas wkwkwkw
@andifaizal6848 Жыл бұрын
@@NauvalAzhar wkwkwk di discord,di fb,di Instagram,di KZbin juga mas 😂.
@ahmadfariz71738 ай бұрын
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
@cabo0874 жыл бұрын
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:)
@jeffreyjdesir4 жыл бұрын
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. 🙏🏿
@abdullahawisimulaha4 жыл бұрын
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 :))
@Nurtylek4 жыл бұрын
awesome, can u make video abt joining to open source world?)
@Fireship4 жыл бұрын
That's an interesting idea... I'll think about it.
@ArchiWorldRuS4 жыл бұрын
Just sign up on GitHub Done 🤣👌
@nodidog4 жыл бұрын
Agree. I'd love to get stuck in and help with some open source projects, but it seems pretty overwhelming from the outside
@harisbashir27194 жыл бұрын
Really need this
@squirrel16204 жыл бұрын
@@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
@jerseyse4103 жыл бұрын
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
@luizAugustoll2 жыл бұрын
you can, but JSDocs is a hell... If you are interested look like typedef for object and function descriptor.
@luizAugustoll2 жыл бұрын
and you can comment params for the function
@oliveryt71682 жыл бұрын
@@luizAugustoll code should be self-explanatory.
@wasserruebenvergilbungsvirus2 жыл бұрын
You can do that in Python? Wtf, I didn't know that. Cool.
@unknownguywholovespizza2 жыл бұрын
@@wasserruebenvergilbungsvirus yeah but it doesn't give you any power. It's just to only help you not the interpreter.
@adeyanjusegunsamuel26862 жыл бұрын
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.
@unknownguywholovespizza Жыл бұрын
JS also supports auto import
@raushonmunni26334 жыл бұрын
Progressive Web Apps in 100 seconds
@Kreyn-ns8gx2 жыл бұрын
Reallly helped with my research you literally made the "TypeScript" of "What is TypeScript". No bs, straight to the point
@kamil1182 жыл бұрын
This madman put "You're typescript project" into the script and actually read it and recorded. 1:08
@RedStone5762 жыл бұрын
he clearly said "your"
@AlphaWatt3 жыл бұрын
EXACTLY what hoped out of this video. Thank you!
@mufasasimsek99312 жыл бұрын
Another awesome video. This youtube channel is my favorite by FAR!
@heymauriciosoares4 жыл бұрын
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
@Infinitude4 жыл бұрын
Thanks for this short and to the point topics covered. Definitely loved the features of typescript over the javascript. :)
@tommyF1514 жыл бұрын
Great video! Even though I knew or heard most of it it's good to have that recap from time to time. Love it!
@avi124 жыл бұрын
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
@cookedpotato2 жыл бұрын
just try it bro, you are gonna love it, source?, just trust me bro
@supersquirrel73402 жыл бұрын
@@cookedpotato reliable source
@liamwelsh55652 жыл бұрын
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.
@cookedpotato2 жыл бұрын
@@liamwelsh5565 source? just trust him bro
@madhououinkyoma2 жыл бұрын
@@cookedpotato the potato came back. How can you not trust it?
@bmiller949 Жыл бұрын
Wow. This is the perfect thumbnail sketch of TypeScript. It's like 'Hello World'!
@Kleberei4 жыл бұрын
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.
@FRONTRUS4 жыл бұрын
*Covid-19* : Making Programmers Since 2020 🎓
@septuleptum4 жыл бұрын
lol, true
@migmoog4 жыл бұрын
Can confirm, that's one thing I can appreciate this year for
@neillunavat3 жыл бұрын
Haha you are so accurate.
@neillunavat3 жыл бұрын
Wait, I didnt reply on this. Who tf?!
@ananttiwari13373 жыл бұрын
@@neillunavat lmao
@frogery3 жыл бұрын
after a couple years of working in JS, i'm extremely glad that TS exists 😅
@absbi00003 жыл бұрын
Still important to learn the foundations of JS first!
@MrPetzold1239 ай бұрын
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 😊.
@yarik_superpro11 ай бұрын
came here becouse people suggested,this is very promising to type checking (gonna use it for client invoking)
@TheCodingOdyssey4 жыл бұрын
Thanks for this. It seems like recently I am hearing more and more about Typescript. Its like its banging in my brain: Learn me!!!
@Progovchannel3 жыл бұрын
i have been learning Typescript a years ago after get suggest from my friend who Javascript expert ....
@blatchie46083 жыл бұрын
I think this has finally just clicked for me. Thank you for all your amazing work :)
@bobDotJS4 жыл бұрын
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 KZbin channel courses. An investment in my future...
@usmanmir56634 жыл бұрын
Last time I was this early, I wrote a 100 lines of code without a single error... ...I was never this early
@NeelAdventures3 жыл бұрын
I wrote 593 lines of code without errors. Easy.
@usmanmir56633 жыл бұрын
@@NeelAdventures it was HTML probably
@NeelAdventures3 жыл бұрын
@@usmanmir5663 It's typescript
@ibrasome44923 жыл бұрын
@@NeelAdventures Do it on assembly then I'll be impressed
@aeuludag3 жыл бұрын
@@NeelAdventures 600 lines of console.log :D
@OhAzanChannel3 жыл бұрын
Wow, never feel enlightened like this. Now i really understood what typescript is. Haha. Thank you. I will learn typescript right away.
@matthewao4 жыл бұрын
I've never clicked a video so fast in my life
@Danielspss10 ай бұрын
God bless the ppl who created Typescript 😊
@NilesBlackX4 жыл бұрын
Crazy coincidence since I literally decided to learn typescript five hours ago You always do this. This is why I subscribed
@ninjaasmoke4 жыл бұрын
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
@timothychinye600810 ай бұрын
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.
@basarat3 жыл бұрын
Nice summary 🌹
@kresimircosic90354 жыл бұрын
TypeScript is magnificent - I would never type pure JS again. Generics also bring it to a whole new reusability level.
@Nexus-rt1bm4 жыл бұрын
Bless Generics and type params
@HamaadSiddiqui4 жыл бұрын
Amazing Video You always inspire me to try new things and make them look so easy :)
@yash11522 жыл бұрын
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)
@ayushpurohit82667 ай бұрын
Please remember while python and js are dynamic JS is loosely typed Python is strongly typed
@hfourie71214 жыл бұрын
Was like, I need to learn TypeScript, open youtube, check notifications, first notification now I am here. lol.
@matthewnorman13264 жыл бұрын
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.
@carlosarena98644 жыл бұрын
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.
@arosdove32243 жыл бұрын
thanks for a quick overview! I think I should start learning typescript right now .
@wassim56224 жыл бұрын
im in love with that end so cool animation !!
@albertbennett62904 жыл бұрын
Reason in 100 seconds pls? Great Video btw!
@vaolin17036 ай бұрын
So basically it’s like Python with consistent type hinting and a static type checker
@amirhoseinrabiee58543 жыл бұрын
Best channel in KZbin.
@banzooiebooie4 жыл бұрын
Thanks a lot for the discount! I didn't hesitate, subscribed for life!
@AsakuraAvan2 жыл бұрын
So basically Typescript is just Javascript that gives you warning you when your variable types are not consistent.
@Roxve Жыл бұрын
But you won't need to go tough your 700 lines of code to find where the error is unlike JavaScript
@ahmedbalady12624 жыл бұрын
Thanks to you fireship.I will be using from now on 🤠.
@Simple_OG10 ай бұрын
Your emoji 🙆
@AlphaFoxDelta3 жыл бұрын
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.
@kuoyulu67149 ай бұрын
This is really great!
@khokon_m4 жыл бұрын
Web sockets in 100 seconds.
@sawilliams6 ай бұрын
My IDE does all this for me without having to add on another layer of complexity by using typescript
@TheGamerRespow4 жыл бұрын
Excellent video as always ! But you shouldn't use "any" anymore, you should instead use "unknown", I think it's way better.
@Nexus-rt1bm4 жыл бұрын
Why exactly is that? I have seen many developers do this although typescript reacts the same in most cases to `any` and `unknown`.
@luizAugustoll2 жыл бұрын
@@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-rt1bm2 жыл бұрын
@@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.
@okanyldrmop4 жыл бұрын
Please do flutter/dart in 100 seconds, your videos are amazing!
@MaxProgramming4 жыл бұрын
He has done flutter i think. But not sure
@ranjith274 жыл бұрын
He has! kzbin.info/www/bejne/onnLg5uGi5JgfZI
@a2xd944 жыл бұрын
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.
@mixuaquela1232 жыл бұрын
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 Жыл бұрын
@@mixuaquela123 the typescript is compiled to javascript so there's no runtime overhead. all your browser ever sees is javascript
@nicetomeetugaming70242 жыл бұрын
Your videos are always amazing!
@kunalsoni76813 жыл бұрын
best video on typescript intro :)
@shwetakadam79154 жыл бұрын
Hi can you make a video on AWS amplify?? Or possibly small project idea or suggestions for multi cloud architecture ?
@roshan43484 ай бұрын
Great typescript video!
@GiuseppeGreco-jl7dx Жыл бұрын
man i'm starting to see why these 100 seconds intros are so popular
@Euler123-h8n2 жыл бұрын
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.
@EllyOguttu4 жыл бұрын
Thanks for explaining TS .subscribed
@if69254 жыл бұрын
0:06 Lebanon
@Fireship4 жыл бұрын
Probably right, I thought it was Portland, Oregon
@OmegaCat9999 Жыл бұрын
I'm a JS user, so feel like learning this!
@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.
@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
@brightlyvirya75007 ай бұрын
Interface in typescript just like cass (oop) but only atribute (no method)... like struct in c
@amanuel21354 жыл бұрын
Fireship the KZbinr we have but don't deserve. Could you make a tutorial on typescript?
@brunorocha98982 жыл бұрын
Awesome class!!! Thank you
@pupdoggify3 жыл бұрын
Need Christmas/NYE discounts please. Already been a crazy year!
@asfandalikhan62693 жыл бұрын
Where was this channel all my life?
@prashoonbhattacharjee82114 жыл бұрын
Fantastic video!!
@vishistsd4 жыл бұрын
I was just thinking about considering switching to deno and ts
@Chris-zt4ol4 жыл бұрын
Can use node with ts too
@eicoz Жыл бұрын
Great explanation !
@nepalxplorer2 жыл бұрын
I have a question, Can't JavaScript make type checking as a feature is future. I think we should upgrade for JavaScript itself instead of introducing new library..
@KeksStarLP4 жыл бұрын
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!
@wellingtonchanda40673 жыл бұрын
Great Video Thank you!!! Though What's the difference between Between Types and Interfaces in TypeScript?
@locus12894 жыл бұрын
Please make videos on Ionic React !!
@I_get_to_start_my_bucketlist3 жыл бұрын
function is the building block of all code, how would it work with coders (others and yourself) if you can not tell what parameters the funciton takes and what return value it gives. I think, typing is adopted by many more dynamic languages such as python, php nowadays because it is simply the critical communcation tool for coders, you don't see how necessary typing could be if you build smaller programs alone (this kind of small libs are all over github now) typing tells a lot when you provide funcitons for others, or you need to check the code you have written 3 weeks ago. typing also forces coders to design the idea in mind first, which slows down the execution, I guess that is why new coders kinda dislike it.
@__greg__3 жыл бұрын
These are very helpful, thanks!
@MsAYAD20123 жыл бұрын
I LOVE YOUR VIDEOS
@mubafaw3 жыл бұрын
You just saved my career! I owe you a drink 😃
@zemalex893 жыл бұрын
Great video, short and direct
@webdecodedwithfahad44144 жыл бұрын
Which one to choose react or Angular in 100 seconds💋
@SpiceFox11 ай бұрын
I started in JavaScript, then I ran to C++ with Arduino. Then I ran back to Js, but I miss the types. Now I'm eyeing TS from across the room
@ahverypro4 жыл бұрын
i love you fireship
@barkaouiaziz89264 ай бұрын
Great content 🔥🔥
@JustinK0 Жыл бұрын
This is why i like angular more than react, naturally in typescript instead of javascript.
@catpurrfect4 жыл бұрын
This is a very nice video. Well put together and easily digestible. I'm impressed.
@ericbwertz2 жыл бұрын
smart kitteh
@Loopmootin3 жыл бұрын
Would you still use Babel if the TS compiler bomb the JS back to the stone age for you? 😅
@sinom2 жыл бұрын
The only reason you ever need to use 'any' is when you use a library with broken typing. And even then you can usually get away with 'as' instead.
@osmantas3694 жыл бұрын
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