ะขั‘ะผะฝั‹ะน

Dart 3 Records Are Awesome 

Robert Brunhage
ะŸะพะดะฟะธัะฐั‚ัŒัั 47 ั‚ั‹ั.
ะŸั€ะพัะผะพั‚ั€ะพะฒ 13 ั‚ั‹ั.
50% 1

Something something, very interesting and cool. Dart 3 wow ๐Ÿ‘
Website: robertbrunhage.com
Want to support me?
โ™ฅ Patreon: / robertbrunhage
โ™ฅ BuyMeACoffee: buymeacoffee.com/robertbrunhage
โ™ฅ Paypal: paypal.me/robertbrunhage
ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท
You can find me on:
โ— Website: robertbrunhage.com
โ— Twitter: / robertbrunhage
โ— Join our community: / discord
ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท
๐Ÿ˜Ž Subscribe: bit.ly/2SUyRhx

ะžะฟัƒะฑะปะธะบะพะฒะฐะฝะพ:

 

28 ะฐะฟั€ 2023

ะŸะพะดะตะปะธั‚ัŒัั:

ะกัั‹ะปะบะฐ:

ะกะบะฐั‡ะฐั‚ัŒ:

ะ“ะพั‚ะพะฒะธะผ ััั‹ะปะบัƒ...

ะ”ะพะฑะฐะฒะธั‚ัŒ ะฒ:

ะœะพะน ะฟะปะตะนะปะธัั‚
ะŸะพัะผะพั‚ั€ะตั‚ัŒ ะฟะพะทะถะต
ะšะพะผะผะตะฝั‚ะฐั€ะธะธ : 72   
@abuzar478
@abuzar478 ะ“ะพะด ะฝะฐะทะฐะด
Dart is evolving!
@RobertBrunhage
@RobertBrunhage ะ“ะพะด ะฝะฐะทะฐะด
language features, langeuage features, langeua furetes!
@erickfiori
@erickfiori ะ“ะพะด ะฝะฐะทะฐะด
@@RobertBrunhage This comment!
@raghav042
@raghav042 ะ“ะพะด ะฝะฐะทะฐะด
these types of short videos are very helpful, time saving and enjoyable ๐Ÿ˜Š
@RobertBrunhage
@RobertBrunhage ะ“ะพะด ะฝะฐะทะฐะด
awesome, glad to hear it :)
@artofnessa
@artofnessa ะ“ะพะด ะฝะฐะทะฐะด
Have been looking forward to this video!!!
@SuperSomeguy56
@SuperSomeguy56 11 ะผะตััั†ะตะฒ ะฝะฐะทะฐะด
Thanks for the succinct explanation. I appreciate that you covered the topic quickly and without a lot of superfluous context. I just subscribed because of that.
@RobertBrunhage
@RobertBrunhage 11 ะผะตััั†ะตะฒ ะฝะฐะทะฐะด
Awesome, thanks!
@neiljaywarner7268
@neiljaywarner7268 9 ะผะตััั†ะตะฒ ะฝะฐะทะฐะด
@@RobertBrunhage me too, i liked your course but forgot about your channel, good job
@draakisback
@draakisback ะ“ะพะด ะฝะฐะทะฐะด
For me my favorite new feature is the pattern matching which I suppose goes along with the record types.
@marcotocchetto5514
@marcotocchetto5514 ะ“ะพะด ะฝะฐะทะฐะด
Haha, missed you Robert! All the best, mate! I think addition of sealed classes is great. Iโ€™ml ooking forward to dart 3
@RobertBrunhage
@RobertBrunhage ะ“ะพะด ะฝะฐะทะฐะด
Heeeey Marco! Indeed, been playing around quite a bit with the new features, hopefully we can get them in Stable soon
@chibuezefelixanyanwu300
@chibuezefelixanyanwu300 ะ“ะพะด ะฝะฐะทะฐะด
this is quite useful when you want to return a success response or a failure response, when making network calls
@imamhatipoglu4040
@imamhatipoglu4040 ะ“ะพะด ะฝะฐะทะฐะด
Yaaay, i was waiting this video. Great content. Thanks ๐ŸŽ‰
@RobertBrunhage
@RobertBrunhage ะ“ะพะด ะฝะฐะทะฐะด
tytytytytyyttyt
@Abdurrahman98XX
@Abdurrahman98XX ะ“ะพะด ะฝะฐะทะฐะด
Awesome video โค Please talk about sealed and interface class
@alanhartmann3355
@alanhartmann3355 ะ“ะพะด ะฝะฐะทะฐะด
Great explanation!
@xRruiiz
@xRruiiz ะ“ะพะด ะฝะฐะทะฐะด
Just thank you ๐Ÿ‘ straight to the point
@hamzaimran1991
@hamzaimran1991 ะ“ะพะด ะฝะฐะทะฐะด
Nice! Please do sealed classes short video as well.
@RedGuy-wy2gg
@RedGuy-wy2gg 9 ะผะตััั†ะตะฒ ะฝะฐะทะฐะด
I stumbled on to this looking for throwing dart records. Concise content
@TechBuddy_
@TechBuddy_ ะ“ะพะด ะฝะฐะทะฐะด
Pattern matching and sealed classes are super amazing. The implementation is not the best but is soooooo much better than forgetting a conditional branch. I'm also looking forward to struct classes ( the name is not finalized hence the shirty name I gave them ๐Ÿคฃ ). Dart started as a js replacement that looked like Java and now it's trying to turn into a Kotlin x rust variant I AM VERY EXCITED for the new features ๐Ÿ˜€
@RobertBrunhage
@RobertBrunhage ะ“ะพะด ะฝะฐะทะฐะด
Agreed, planning some content on that as well!
@Apenschi
@Apenschi ะ“ะพะด ะฝะฐะทะฐะด
I've been working with Flutter and Dart since 2018 and didn't know that! Very useful! Thanks!
@RobertBrunhage
@RobertBrunhage ะ“ะพะด ะฝะฐะทะฐะด
New language feature coming in dart 3!
@Apenschi
@Apenschi ะ“ะพะด ะฝะฐะทะฐะด
@@RobertBrunhage Oh, I see! Being able to read is a clear advantage! :-)
@khaled-0
@khaled-0 ะ“ะพะด ะฝะฐะทะฐะด
That's a very interesting keyboard you're using
@DeleMike7
@DeleMike7 ะ“ะพะด ะฝะฐะทะฐะด
After 8 months of building mapping functions with Dart ๐Ÿ˜… Thanks Dart!
@chibuezefelixanyanwu300
@chibuezefelixanyanwu300 ะ“ะพะด ะฝะฐะทะฐะด
Kindly put these in a play list robert
@RaymondAtivie
@RaymondAtivie ะ“ะพะด ะฝะฐะทะฐะด
This is fantastic
@kirilokun2426
@kirilokun2426 ะ“ะพะด ะฝะฐะทะฐะด
Thanks for a great demo. What plug plug in do you use for the code completion?
@RobertBrunhage
@RobertBrunhage ะ“ะพะด ะฝะฐะทะฐะด
I am using built in LSP with NeoVim
@mikopiko
@mikopiko ะ“ะพะด ะฝะฐะทะฐะด
This is very nice showcase, can you do one on type union?
@gorudonu
@gorudonu ะ“ะพะด ะฝะฐะทะฐะด
recrods are cool, pattern matching is even better. All I'm waiting for though are macros
@khairulazhar7593
@khairulazhar7593 ะ“ะพะด ะฝะฐะทะฐะด
Just curious, will record be sufficient for 2 return type instead of using plugin such as dartz or fpdart?
@grevel1376
@grevel1376 ะ“ะพะด ะฝะฐะทะฐะด
So they added tuples
@martoxdlol
@martoxdlol ะ“ะพะด ะฝะฐะทะฐะด
This is really good. It can be a game changer
@michaelnapora9155
@michaelnapora9155 ะ“ะพะด ะฝะฐะทะฐะด
It should say: 'VIP office' ;)
@RobertBrunhage
@RobertBrunhage ะ“ะพะด ะฝะฐะทะฐะด
True
@SalarAzad
@SalarAzad ะ“ะพะด ะฝะฐะทะฐะด
just awesome
@Amandeep-kq5bz
@Amandeep-kq5bz ะ“ะพะด ะฝะฐะทะฐะด
next level
@nipunshah1373
@nipunshah1373 ะ“ะพะด ะฝะฐะทะฐะด
which font you use for coding ?
@muddi900
@muddi900 3 ะผะตััั†ะฐ ะฝะฐะทะฐะด
How are you getting inline error warning?
@timmanning9
@timmanning9 ะ“ะพะด ะฝะฐะทะฐะด
Does records enhance the capability of factory constructor?
@promaen
@promaen ะ“ะพะด ะฝะฐะทะฐะด
so basically tuples
@kkkkhalif7660
@kkkkhalif7660 ะ“ะพะด ะฝะฐะทะฐะด
nice content
@naxcall
@naxcall ะ“ะพะด ะฝะฐะทะฐะด
So now we can return 2 value from one function, awesome ๐ŸŽ‰
@bashafaris5908
@bashafaris5908 ะ“ะพะด ะฝะฐะทะฐะด
Can u make a video about making animation in riverpod and importing it in flutter??
@leandro_devsecop
@leandro_devsecop 9 ะผะตััั†ะตะฒ ะฝะฐะทะฐะด
I couldn't pay attention to the code with this keyboard
@handsanitizer2457
@handsanitizer2457 ะ“ะพะด ะฝะฐะทะฐะด
Hey what keyboard is that ?? Edit: actually saw your video
@chordfunc3072
@chordfunc3072 ะ“ะพะด ะฝะฐะทะฐะด
3:00 This is going to be awesome
@RobertBrunhage
@RobertBrunhage ะ“ะพะด ะฝะฐะทะฐะด
agreeed
@giangominh2562
@giangominh2562 ะ“ะพะด ะฝะฐะทะฐะด
What is your setup on nvim to run with dart?
@RobertBrunhage
@RobertBrunhage ะ“ะพะด ะฝะฐะทะฐะด
Have a video on it -> ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-E29ij9baGPw.html
@Igalsr
@Igalsr ะ“ะพะด ะฝะฐะทะฐะด
Nice, like Kotlin
@Ahmed-yr8wb
@Ahmed-yr8wb 3 ะผะตััั†ะฐ ะฝะฐะทะฐะด
Keyboard name?
@greglee7708
@greglee7708 ะ“ะพะด ะฝะฐะทะฐะด
off topic - what is this color scheme :d?
@RobertBrunhage
@RobertBrunhage ะ“ะพะด ะฝะฐะทะฐะด
I am using NeoVim btw :d require("rose-pine").setup { dark_variant = 'moon', } vim.api.nvim_command('colorscheme rose-pine')
@ahmedmohamed1340
@ahmedmohamed1340 ะ“ะพะด ะฝะฐะทะฐะด
this is dumn good really helpfull
@Rotem_shwartz
@Rotem_shwartz ะ“ะพะด ะฝะฐะทะฐะด
Literally the exact copy Of JS objects and destructing ๐Ÿ˜‚
@aleksejlobikov6452
@aleksejlobikov6452 ะ“ะพะด ะฝะฐะทะฐะด
Yeah, if somebody would think ahead and records would be introduced in version 1.8 the whole fate of Dart would be different.
@ibrahimshehuibrahim918
@ibrahimshehuibrahim918 ะ“ะพะด ะฝะฐะทะฐะด
love ur keyboards
@kamaravichow
@kamaravichow ะ“ะพะด ะฝะฐะทะฐะด
is it like fpdart Either ?
@RobertBrunhage
@RobertBrunhage ะ“ะพะด ะฝะฐะทะฐะด
That one has some additional functionality like the forced unwrapping callbacks, but almost
@BrendansReasons
@BrendansReasons 3 ะผะตััั†ะฐ ะฝะฐะทะฐะด
What other language has this?
@Hazara_boy
@Hazara_boy ะ“ะพะด ะฝะฐะทะฐะด
Tuple on steroids.
@michaelkroupa6996
@michaelkroupa6996 ะ“ะพะด ะฝะฐะทะฐะด
I'm honestly see more problems coming up with that feature than it solves problems :S I like the idea behind it, making write code easier. but i can imaging this will really fast be overused. In my opinion i dont only write code to get the requirement working, but also to make it easy to maintain and maybe later also expand. I can imagin this might be much more complicated to understand half a year later, that it would be if one is writing a few more lines of code. More lines of code doesn't mean, it is worse. But let's see how it will envolve :)
@sambaotaku
@sambaotaku ะ“ะพะด ะฝะฐะทะฐะด
Actually for this kind of class, use records make a lot of sense, because when you use location packages, like google maps + location, you start to get confused with your location class, google maps location class, location package location class..
@marana.th4
@marana.th4 ะ“ะพะด ะฝะฐะทะฐะด
true, you're right about this, it would be okay for writing personal code or simple code maybe for solving simple coding problems, but in a real project, this will be more harmful than it will be good, I've come to find that sometimes the "boilerplate" people complain about actually is a necessary evil, for clean code, maintainability and scalability, makes code more understandable
@marana.th4
@marana.th4 ะ“ะพะด ะฝะฐะทะฐะด
@@sambaotaku lol, so for that singular reason, records are good?, couldn't you just give your class a different name, I'm not saying records are bad, but that's not a sound reason
@sambaotaku
@sambaotaku ะ“ะพะด ะฝะฐะทะฐะด
@@marana.th4 the name doesnโ€™t matter, the point is the video, you need to create a extra class that doesnโ€™t make any sense, and is even worse when the package have the same name of your class, so the other developers need to understand which is which.
@marana.th4
@marana.th4 ะ“ะพะด ะฝะฐะทะฐะด
@@sambaotaku I get your point now
@gerwazy373
@gerwazy373 ะ“ะพะด ะฝะฐะทะฐะด
destructuring is soo goog with something like Future.wait([...]), no need to asign each item by hand and casting it to correct type
ะ”ะฐะปะตะต
Dart 3 Class Modifiers Is kinda Confusing
5:48
ะŸั€ะพัะผะพั‚ั€ะพะฒ 9 ั‚ั‹ั.
Amazing DARTS WORLD RECORDS that may never be broken
10:41
ะŸั€ะพัะผะพั‚ั€ะพะฒ 722 ั‚ั‹ั.
Help Barry And Barry Woman Scan Prisoners
00:23
ะŸั€ะพัะผะพั‚ั€ะพะฒ 3 ะผะปะฝ
Svelte 5's Secret Weapon: Classes + Context
18:14
ะŸั€ะพัะผะพั‚ั€ะพะฒ 15 ั‚ั‹ั.
How principled coders outperform the competition
11:11
ะŸั€ะพัะผะพั‚ั€ะพะฒ 1,6 ะผะปะฝ
What are record types in C# and how they ACTUALLY work
15:36
ะŸั€ะพัะผะพั‚ั€ะพะฒ 119 ั‚ั‹ั.
Records & Patterns - Get started with the newest addition in Dart 3.0
11:30
ะŸั€ะพัะผะพั‚ั€ะพะฒ 2,2 ั‚ั‹ั.
Top 5 Flutter Tips for Big Projects
5:55
ะŸั€ะพัะผะพั‚ั€ะพะฒ 71 ั‚ั‹ั.
Null safety in Dart - Introduction
5:27
ะŸั€ะพัะผะพั‚ั€ะพะฒ 162 ั‚ั‹ั.
World Record Average! Michael van Gerwen averages 123.4! INCREDIBLE!
11:11
ะŸั€ะพัะผะพั‚ั€ะพะฒ 2,9 ะผะปะฝ
why are switch statements so HECKIN fast?
11:03
ะŸั€ะพัะผะพั‚ั€ะพะฒ 394 ั‚ั‹ั.
Top 16 Dart Tips and Tricks Every Flutter Developer Should Know
11:44
ะŸั€ะพัะผะพั‚ั€ะพะฒ 59 ั‚ั‹ั.
Dear Game Developers, Stop Messing This Up!
22:19
ะŸั€ะพัะผะพั‚ั€ะพะฒ 699 ั‚ั‹ั.
Help Barry And Barry Woman Scan Prisoners
00:23
ะŸั€ะพัะผะพั‚ั€ะพะฒ 3 ะผะปะฝ