TypeScript 5.2 new features review!

preview_player
Показать описание
The TypeScript 5.2 beta was announced a few days ago, and there are some pretty banger new features coming up! Let's take a quick look at what we'll getting soon.

*My Links*

#typescript #coding #programming #javascript
Рекомендации по теме
Комментарии
Автор

Excited about the decorator stuff. I work a lot with NestJS, and this looks like it will replace reflect-metadata, and give a more idiomatic way to create custom decorators. Using looks interesting, too.

gosnooky
Автор

Because 0:15 seconds into the video and my beloved friends #3.5 wants me to quote him *« TypeScript, as a superset of JavaScript, goes beyond just introducing type annotations. It actively incorporates new ECMAScript features by closely following the ECMAScript proposal process. By doing so, TypeScript ensures that developers can leverage the latest language enhancements even before they become widely supported. This approach provides a more productive and future-proof development experience, offering the benefits of static typing, advanced tooling, and the newest JavaScript capabilities. With TypeScript, developers can improve code quality, catch errors early, and enhance the maintainability of their JavaScript applications, all while enjoying the advantages of a superset that extends the language's capabilities. »* that one friend who knows about everything but was like… _giving up about learning stuff around September 2021 for some reasons 😅_

Luxcium
Автор

I'm excited about some videos on the `using` keyword because I don't see how it's really useful yet

dasten
Автор

1:33 As a C# dev, I see some heavy C#/Microsoft ideas usage in TypeScript, using is just one of the examples.

milutinke
Автор

I'd give my left arm to be able to use decorators on regular functions… They are so useful in Python!!

feldinho
Автор

Dude typescript is becoming more and more like syntactic c#. But not actually c#, so smoke and mirrors of strong typing, reflection and many other features.

hugodsa
Автор

Not sure, if you can use using for object pools, unless the dispose function gets called even when the reference to the object is running our of scope. But I rather think the object itself needs to be garbage collected, which won't happen as long as an object is inside a pool.

andremichelle
Автор

😅 I don’t know how much comments about your first 24 seconds you will have but you can just pretend that it is part of the overall plan to boost the engagement 😂😂😂😂❤

Luxcium
Автор

Good channel! Why is there music in this? 😛

dvdrtrgn
Автор

I was skeptical of decorators until recently using the TSOA library, now I'm very excited about the potential of them in typescript.

JaimeOlmo
Автор

minor correction at 1:38 you mention about garbage collection, which is not the case, it doe not need to be garbage collected inorder for dispose method to be called. This feature has been in c# for a very long time, good to know javascript copied it.

reverser
Автор

another feature from C#. Not surprising since it's Microsoft

treyquattro
Автор

The using declaration is obviously the master piece but a programming language is not supposed to be adding a coma for me and doing that is such a nice gesture it is just magic and very appreciated… forget about the language services and the fact that VSCode is already just full of that magic already and then think of the old school programming language and then if you can show me that Fortran or COBOL or any other modern languages are so nice like that… it is like an actor doing a soliloquy and is braking the 4th wall just to talk with you about something like taking the job of the narrator 😂😂😂😂 it is definitely my favourite feature 😅😅😅😅

Luxcium
Автор

I wish I could properly understand this video... hahahahahaha...

theSUBVERSIVE
Автор

Sucks you need to make trash thumbnails like that to get your good content out there. I get it though.

kevinbatdorf
Автор

That `using` thing is so... strange. One word, easy to miss, and it does hidden code things. That's a nightmare waiting to happen. Code is supposed to be linear and visible. What a weird and unnecessary addition.

mahadevovnl
Автор

I hate stupid optimizations like that...just put the fkn comma in yourself! Jeez.
"Declarations" or "decorators"?

dkazmer
visit shbcf.ru