A beginners guide to Typescript | Why use it?
ฝัง
- เผยแพร่เมื่อ 22 ก.ค. 2024
- Web Development Courses ⚡
developedbyed.com/
So yeah I'll be making this series starting with episode one, we are just going to ease in and get familiar with basic types, the benefits of typescript, and more. I'll cover more advanced topics like generics later on in the series, so if you have any suggestions give me a shout in the comments 👍
🛴 Follow me on:
Twitch: / developedbyed
Twitter: / developedbyed
Instagram: / developedbyed
Github: github.com/developedbyed/
#programming - วิทยาศาสตร์และเทคโนโลยี
I have a suggestion that please never discontinue this series
Even though I'm no stranger to TS, having Ed's perspective always adds some depth and broadens my understanding. Keep them coming, and a heartfelt thank you!
That’s such a nice comment, thank you so much!
I am Excited to dig more into TS after this Video. Thanks Ed
TypeScript is great ... until you want to do something complicated or clever. Then you find yourself wandering through a Kafkaesque hellscape of conditional generic mapped type inferences until you can actually _feel_ your inner child dying.
You must be a front end developer. Kafkaesque and italic text? I see you!
Great Video's Ed, I am so loving it.
But man just one thing, Increase the font size of your text in the editor it makes it better to see and read
What is the font used in your VSCode? It looks nice
Typescript is just javascript where you write more javascript.
😂
Ed, what's that extension that shows up the type error as a temporary comment to the right of the code at 3:58? thanks
Console ninja, I think
Helpfull and funny! Thanks Guy!
Theo made a video "Giving up on next" that talked about that react query + server actions technique you use. He mentioned at around 35:00 that you can wrap it in a hook but didn't expand on it. Can you do a video on this? Thanks
i can't watch theo. it's only clickbaiting and DRAMA
@@HoNow222 And ads disguised as content
What is happening to your upcoming next.js14 course? Any update?
Super vids dude!
Loving the picture of Matt Pocock in the starting graphic!
Can you make the title of this series a Doctor Strangelove pun? "Dr. TypeScript or: How I Learned to Stop Worrying and Love the Type Safety"
I love the name of the series haha
I want to see how you fetch api and use Typescript, how to handle the data, and then when exporting it how to use it.
Great video. I'd append to your title for visibility... something like " - a gentle introduction to TypeScript" (e.g.)
That is great. Will Next.js course include Typescript?
yes it will!
Make a detailed video about drizzle
you know what? .... you have gained another subscriber ❤
Please a detailed video on typescript in react not just touching just basics.
I was watching your every single video 2 years ago...then notifications stopped coming and I started higher studies. now I want to watch you every single video but please do something with the notifications
din cauza ta m-am angajat in IT.. acum 3 ani si ceva, am facut cursul ala cu The Creative React and Redux
wow typescript looks like a really nice VS code extension :)
It's not an extension, it's a language...
lol
I wonder how much time and work was spent by Brendan Eich, the creator of JavaScript, making Javascript a weakly typed language. He was probably like, this will make it fast and easy for everyone that they don't have to worry about typing their vars!
❤
Let me know if I should cover anything specific in this series 💖
Hi
Let's be real. It's not js with types, it's js with a linter. It only took off cuz people are lousy and were getting "undefined is not a function" a bit much. Great video tho, just wanted to hate a bit.
Dev Ed im from poor country can I get that old $10 discount on your react course I really need it
First here!
Fuck
LET'S BACK UP a BIT...
I do NOT see "real-world" problem being solved by using TypeScript.
All I see are silly examples of a "function that adds or divides 2 numbers' to justify "type checking". e.g., Who writes a function just to do basic math????
Next, developers are testing (aka runtime) their code LINE-BY-LINE anyway, so "compile-time" checking isn't all that beneficial in saving a developer time coding.
In other words, TypeScript adds a layer of complexity that doesn't have that much benefit to JavaScript world.
NEWS FLASH:
1. Most data on the Client Side are STRINGS anyway.
2. NUMBERS and DATES are already validated in the client's browser anyway.
3. And YES, you are passing data for a KNOWN REASON. So you have a pretty good idea what is to be expected. And those to say you don't OR say you haven't worked with a large code base are justifying passing parameters that you have NO CLUE in what you are passing? If so, that is a sneaky form of "job security". LOL.