Mosh you're just too great! Too good at breaking down concepts. In any walk of life I want to learn, if there's a Mosh tutorial, I'm going for it first.
Thank you very much of this lecture, I learned a lot from this. TypeScript seems to be very cool language. You are one of the best teachers at youtube. Very clear presentation.
sir, hands down you are an extremely great teacher. keep doing what you're doing. your lectures are clear, concise ans straight to the point. just listening to you for one hour made typescript syntax a lot easier for me to understand. well done.
Great walkthrough! You've renewed my hope that web development isn't still stuck in the '80s. It's simply astonishing how much work you still have to do to write simple code (I haven't made a webpage since '99). Practically every other coding "language" (e.g. C, Java, MATLAB, etc.) is lightyears ahead of web development.
The enum in JS can be done by using Object.freeze. And it looks pretty similar and can be used the same way. const Color = Object.freeze({ RED: 0, GREEN: 1, BLUE: 2 }); Then use it like: `Color.RED`
The awesome use of Intellisense (to explain what's accessible) !! And also the way you explain, from the concept before class (interface) to the need of class (cohesion), and then instance of class (objects), constructors, etc, its awesome man !!!
Mujtaba Mahmood which courses of mine have you taken and what sections do you specifically need mini projects? I know ideally you want mini projects in every section but I'm just trying to figure out what courses/sections need a higher priority on this matter.
Moshfegh Hamedani I took the xamarin forms, c# all levels and the asp.net mvc . And of course the angular course. I suggested in general. Let's say when you finish the layouts section in xamarin it would be great to do a small project that shows some kind of navigation , layouts, etc.. the way you think is best to solve a problem which you can mention in the beginning. I am sure many people who know Java or other languages want to learn something new and the best way to learn it is by on-hand solving problems. My guess that most people who are learning on TH-cam or udemy want to have projects of their own while learning that they can say "yes, I know how to make a small app for a restaurant!" I think you did that in the ASP.NET MVC course when you mentioned in the beginning that: "at the end of this course you will know how this video rental website is made". At the end you are the teacher here and you might have different opinion. That's my personal view. But that was what I wanted to see more. Thanks and good luck.....
Although the title is misleading because it was released in 2017 it still helped me understand all the things I didnt get the past 2 years of college so thank youl
Yeah.... Its mostly like that here. The full courses are hidden behind payments, which isn't a bad thing. But at least have the courtesy to change the title to something relevant. I once had to quickly start on a task that required to work with redux which I didn't have much experience with. So, I watched one of the video titled "Redux tutorial" in this channel, which ended up being just a functional programming video. I think that's the first video on youtube that I've ever hit the dislike button for.
@Mevin Monson @Kiran Koirala I understand about this particular title or even the redux one.But as a person who has studied multiple technologies and frameworks from this person's full paid courses let me tell you that they are absolutely amazing and best courses out there.He works really hard to create those and still charges very minimal money for them,and its a little to much to ask someone to give that amount of work for free isn't it :) .My guess is he only puts these updated titles to help with youtube's algorithms. But believe me you won't get dissappointed if you ever try his full course. :)
@@siddhantshrivastava5785 I'm not complaining about the full courses being after payment, that's totally fine and acceptable. Neither am I complaining about the courses, I too feel his courses are great. Even on this video or on redux one, I know that the things he's teaching are the fundamentals that we need before learning those stacks which shows how great his courses are. I'm only saying, I'm not ok with the titles of the video, misleading a viewer.
@@KiranKoirala1 I thought that at first, but around the halfway point of that video he explains why you need to understand functional programming to understand redux, then spends about 40 minutes going over the basic concepts of redux. I found it to be one of the clearest ways to explain redux and recommend it to friends.
I watched this guy's crash courses on react, python and now typescript then I go create an app to test my ability. Never gets old for me. I always get a job(higher pay) after. Thanks man!!
سلام آقای همدانی عزیز خیلی ممنونم از اینکه آموزشهای جامع مختصر و کاربردی تولید میکنین. من میخوام توی دوره های شما تو سایتتون ثبت نام کنم اگر مقدور هست پرداخت با کریپتو رو اوکی کنین تا ما ایرانی ها هم بتونیم ثبت نام کنیم. پرداخت با مستر کارت و پی پال برای ما تقریبا غیر ممکن هست! باز هم ممنونم بابت آموزشهای خوبتون و صد البته خنده هایی که وسط آموزش دارین 😁 اکثر برنامه نویسها خشک هستند ولی شما شخصیت بشاش و شادی دارین و این باعث میشه من بیشتر و بیشتر به برنامه نویسی ترغیب بشم. (از چند تا دوستان برنامه نویس تجربه مناسبی نداشتم 😂 کلن مغزشون صفر و یک هست😂)
I'm surprised that one of your favorite features in TypeScript is access modifiers in the constructor function. Personally, I think that it makes the code much less readable as I'm always expecting to see a well defined list of class fields above the constructor. This is especially true if you have many constructor parameters and this approach doesn't allow the constructor to send the arguments to setter methods.
33:16 There might be some confusion, and misunderstandings here. The keyword 'point' in line 15 refers to the object created by the syntax 'new Point()', not an object.
You cannot replace 'var' everywhere with let. Var has different use case 'let' has different. 'var' is not block scoped,meaning you can access a variable even out of the scope of the function,and there are some conditions,where you need that functionality. 'let' on the other hand,is block scoped,meaning,if you are using it inside a function or even a for loop(looping constructs does not create a scope),let will enforce that loop to create a scope,and will exist ONLY inside that scope. So the key takeaway is use var and let according to their use case. PS: Quite informational lecture,especially for a typeScript beginner
Great tutorial mosh, the way you teach I am really impressed by your technique as you first present choices to write code and slowly you figure out for us to which code technique we should use for better code structure and minimum code with readable for others to understand.
after adding get and set part of code, on compile I get error stating like 'accessors are only available in ECMA5 and later', even though my tsconfig is set to ES5. Any suggestion how to get over it?
00:41 What is TypeScript?
03:04 Your First TypeScript Program
06:03 Declaring Variables
10:52 Types
16:35 Type Assertions
19:22 Arrow Functions
21:05 Interfaces
24:59 Classes
29:29 Objects
33:36 Constructors
36:27 Access Modifiers
39:23 Access Modifiers in Constructor Parameters
41:04 Properties
46:22 Modules
Thanks man
@@paramitahalder6943 if it help somebody then no issue 😁
10:52 types and enum
16:43 type conversion
19:30 arrow functions
21:10 custom types and interface
25:16 cohesion and class
Very easily put. Such a beautiful tutorial. I only took one break and it was over without overloading my brain. Thank you Mosh
Mosh you're just too great! Too good at breaking down concepts. In any walk of life I want to learn, if there's a Mosh tutorial, I'm going for it first.
Thank you very much of this lecture, I learned a lot from this. TypeScript seems to be very cool language. You are one of the best teachers at youtube. Very clear presentation.
Tbvh
Stop begging , he wont give u another free course !
sir, hands down you are an extremely great teacher. keep doing what you're doing. your lectures are clear, concise ans straight to the point. just listening to you for one hour made typescript syntax a lot easier for me to understand. well done.
Great walkthrough! You've renewed my hope that web development isn't still stuck in the '80s. It's simply astonishing how much work you still have to do to write simple code (I haven't made a webpage since '99). Practically every other coding "language" (e.g. C, Java, MATLAB, etc.) is lightyears ahead of web development.
WHY IS THIS MAN SUCH A GOOD TEACHER ????
من آموزشهای دیگه هم برای انگولار دیدم ولی این با اخلاف خیلی بهتر از بقیه بود، مرسی استاد همدانی
Tip: you can use -w on your tsc command to constantly compile without having to run the command over and over.
@@programmingwithmosh pin this comment
Mosh is the best instructor knows OOP, "Literally".
I come to this channel ever since I took one of your crash courses and I've been able to buy a course which is the best thing I've ever bought
The enum in JS can be done by using Object.freeze. And it looks pretty similar and can be used the same way.
const Color = Object.freeze({
RED: 0,
GREEN: 1,
BLUE: 2
});
Then use it like:
`Color.RED`
Bravo! Amazing tutorial! So clear, so well passed, voice and diction so good, font size so easily readable. I loved it, thanks!
Highly recommended tutorial for beginners. Concepts were explained very clearly. Thank you Mosh for this valuable lesson.
Is it relevant to take this course in 2019?
I love the way you explain complex things in simple manner
The awesome use of Intellisense (to explain what's accessible) !!
And also the way you explain, from the concept before class (interface) to the need of class (cohesion), and then instance of class (objects), constructors, etc, its awesome man !!!
I always used to dislike TypeScript, but after watching this video, I have started liking it. This is a fantastic video. Thanks.
Wow, Access modifiers in constructor parameters are soooo good. I had been missing them for so long. They are gonna improve the code so much.
Thanks friend, I felf very difficult to find sessions teach from basics. But finally I found thanks friend one more time.
I just purchased your angular 4/2 upgrade last week!!
I Will buy the new one too, you deserve it Mosh.
Mujtaba Mahmood Thanks for your support!
Moshfegh Hamedani keep doing the great job.
Ps, we need more project basis practices. Like mini-projects that cover the concepts of that section.
Mujtaba Mahmood thanks for your suggestion! Will definitely keep in mind.
Mujtaba Mahmood which courses of mine have you taken and what sections do you specifically need mini projects? I know ideally you want mini projects in every section but I'm just trying to figure out what courses/sections need a higher priority on this matter.
Moshfegh Hamedani I took the xamarin forms, c# all levels and the asp.net mvc . And of course the angular course. I suggested in general. Let's say when you finish the layouts section in xamarin it would be great to do a small project that shows some kind of navigation , layouts, etc.. the way you think is best to solve a problem which you can mention in the beginning. I am sure many people who know Java or other languages want to learn something new and the best way to learn it is by on-hand solving problems. My guess that most people who are learning on TH-cam or udemy want to have projects of their own while learning that they can say "yes, I know how to make a small app for a restaurant!"
I think you did that in the ASP.NET MVC course when you mentioned in the beginning that: "at the end of this course you will know how this video rental website is made".
At the end you are the teacher here and you might have different opinion. That's my personal view. But that was what I wanted to see more.
Thanks and good luck.....
Although the title is misleading because it was released in 2017 it still helped me understand all the things I didnt get the past 2 years of college so thank youl
You are the best tutor i ever seen. great job Mosh joon.
Your teaching method is Awesome, loved your explanation
Mosh has been my virtual mentor for years, Thank you so much. your courses helped me get 2 jobs so far since 2015.
You're a brilliant teacher as ALWAYS!!!
The best typescript tutorial to get you started.
It's written "TypeScript for React [2020]" but the video has been released in 2017 and never talks of React...
Yeah.... Its mostly like that here. The full courses are hidden behind payments, which isn't a bad thing. But at least have the courtesy to change the title to something relevant.
I once had to quickly start on a task that required to work with redux which I didn't have much experience with. So, I watched one of the video titled "Redux tutorial" in this channel, which ended up being just a functional programming video. I think that's the first video on youtube that I've ever hit the dislike button for.
@Mevin Monson @Kiran Koirala I understand about this particular title or even the redux one.But as a person who has studied multiple technologies and frameworks from this person's full paid courses let me tell you that they are absolutely amazing and best courses out there.He works really hard to create those and still charges very minimal money for them,and its a little to much to ask someone to give that amount of work for free isn't it :) .My guess is he only puts these updated titles to help with youtube's algorithms.
But believe me you won't get dissappointed if you ever try his full course. :)
@@siddhantshrivastava5785 I'm not complaining about the full courses being after payment, that's totally fine and acceptable. Neither am I complaining about the courses, I too feel his courses are great. Even on this video or on redux one, I know that the things he's teaching are the fundamentals that we need before learning those stacks which shows how great his courses are. I'm only saying, I'm not ok with the titles of the video, misleading a viewer.
@@KiranKoirala1 I thought that at first, but around the halfway point of that video he explains why you need to understand functional programming to understand redux, then spends about 40 minutes going over the basic concepts of redux. I found it to be one of the clearest ways to explain redux and recommend it to friends.
@@siddhantshrivastava5785 Yes, Absolutely I learned c# from him so easily.
Your work are short and clean to learn as beginner. Thank you.
Best TypeScript tutorial so far!
I think watching this whole video can easily make a JS developer to a typescript developer pretty fast!! Congo Mosh!!
I watched this guy's crash courses on react, python and now typescript then I go create an app to test my ability. Never gets old for me. I always get a job(higher pay) after. Thanks man!!
I'm used to es2015 , and I wanted to give a try to TypeScript for my React Projects. Definitely a good tutorial ! Very well explained (y)
Tutorials can't get any better than this...
Course completed, thanks for all your effort on this video.
even that i watch the video in 1.5 speed , i understand everything from the first time. You are really good teacher :) Thank you
one of the best videos ever made for the typescript
Amazing tutorial! eveything was clear
Oh! _That's_ what TypeScript is. Thanks so much!!
great tutorial man really helped me understand typescript.. keep it up Mosh
Thank you sir. Your lecture is very supportive to me.
Thank you for basic knowledge. I'm just starting my angular project. It's helpful for me.
Awesome video.... Thanks a LOT. Cleared most of basic concept. Each and every sentence seems to be important.
awesome. Though i learn the types in ts but still was confused. But after watching this. There is no more confusion.
Love your teaching style Mosh
I don't Know How to Thanks to you.Thank You Very Very Very Much Mosh😍😍😍😍😃
Excellent presentation style. Very good tutorial, bar the incorrect/bad habits presented here and there.
Thanks a lot. Very clear explanation. Congratulations
Learned a lot easier due to this video, thanks a lot. Especially the modules, it impressive.
Very good explanation, Concepts are clear
Thank you very much. Explanation accessible to all
THANK YOU. Someone who can influence others!
Awesome overview of typescript for angular !
سلام آقای همدانی عزیز
خیلی ممنونم از اینکه آموزشهای جامع مختصر و کاربردی تولید میکنین.
من میخوام توی دوره های شما تو سایتتون ثبت نام کنم اگر مقدور هست پرداخت با کریپتو رو اوکی کنین تا ما ایرانی ها هم بتونیم ثبت نام کنیم.
پرداخت با مستر کارت و پی پال برای ما تقریبا غیر ممکن هست!
باز هم ممنونم بابت آموزشهای خوبتون و صد البته خنده هایی که وسط آموزش دارین 😁
اکثر برنامه نویسها خشک هستند ولی شما شخصیت بشاش و شادی دارین و این باعث میشه من بیشتر و بیشتر به برنامه نویسی ترغیب بشم. (از چند تا دوستان برنامه نویس تجربه مناسبی نداشتم 😂 کلن مغزشون صفر و یک هست😂)
Thank you for creating such an awesome tutorial
Awesome Mosh!! You always use the simplest way to explain..I love it. Thank you so much :)
Thank you very much ... clear understanding about basics.
Quick and easy. Loved it.💖
You are really awesome, you made me understand to use pattern
Awesome, easy, and fast tutorial! Thank you for your help, digging around in those docs would've given me a headache.
I'm surprised that one of your favorite features in TypeScript is access modifiers in the constructor function. Personally, I think that it makes the code much less readable as I'm always expecting to see a well defined list of class fields above the constructor. This is especially true if you have many constructor parameters and this approach doesn't allow the constructor to send the arguments to setter methods.
great work mosh May God bless you.Thank you.
Thanks a lot for this amazing course ! Love the approach and content ! Thumbs up !
Very clear and crisp. Easy to understand. Thank you so much.
typescript was the best thing that ever happened to javascript
I love your videos more than music/movie videos :) you rock in every video like a rock star. :)
Personally, I rarely use let and use var instead. I also use const a lot
best video to learn typescript ...excellent work..keep doing..
Very clear intro to Typescript. Many thanks.
BTW: You T-shirt is fantastic.
thank you sir, for this video it is very useful and easy to understand. I'm the first time learn about typescript and its video really help for me.
it's very useful within short and clearing briefing
33:16 There might be some confusion, and misunderstandings here. The keyword 'point' in line 15 refers to the object created by the syntax 'new Point()', not an object.
really pro tutorials! good job mosh!
THANKS A LOT, your lections are brilliant!
really great tutorial ...help me a lot in class ...thank you sir
I loved this tutorial. Very helpful! thanks!
Best TS tutorial ever seen!
Super clear explanation ; nice walk through ; understandable english ; clear code and benefits of TS → ❤
love all your courses
You cannot replace 'var' everywhere with let. Var has different use case 'let' has different.
'var' is not block scoped,meaning you can access a variable even out of the scope of the function,and there are some conditions,where you need that functionality.
'let' on the other hand,is block scoped,meaning,if you are using it inside a function or even a for loop(looping constructs does not create a scope),let will enforce that loop to create a scope,and will exist ONLY inside that scope.
So the key takeaway is use var and let according to their use case.
PS: Quite informational lecture,especially for a typeScript beginner
Thank you. Very useful tutorial for Angular 6 beginners 👌
Awesome tutorial. You always make complex concepts to very simple for our understanding.
Thank you man .. absolutely loved the video .. simple and informative.
Thanks Mosh, very helpful
Good overview of typescript thanks Mosh ✌️
Thank you sharing this tutorial, very precise and to the point explanation of key features.
Amazing tutorial, every explanations are crystal clear..
Programming with Mosh do you have tutorials series for Angular 6
You have awesome teaching skills, you rock!
Great tutorial mosh, the way you teach I am really impressed by your technique as you first present choices to write code and slowly you figure out for us to which code technique we should use for better code structure and minimum code with readable for others to understand.
Thank you . Was very helpful 🙌
Ur a great teacher. Thank you very much for dedication to share ur knowledge with us😊
Thanks Mosh!
Hi - could you post the link for the full course ? Thank you
Crystal clear!, thank you very much :)
Excellent tutorial for beginners. Everything just perfect. Thank you.
Very nice to the point and easy to follow new to Angular this was really helpful.
This helped me so much
you rock men. best mvc and ef teacher
after adding get and set part of code, on compile I get error stating like 'accessors are only available in ECMA5 and later', even though my tsconfig is set to ES5. Any suggestion how to get over it?
Amazing tutorial Sir. Thank U.