Комментарии:
Nice tutorial nice explanation with mixin and on...😍😍😍😍
ОтветитьIt's called Traits in PHP world!. Mixins = Traits😆 PHP Guys...
ОтветитьThanks Nice work
Ответитьif two mixins have same method name then how can we call the desired method
ОтветитьYou have a unique talent for keeping the right pace. The quality of content is amazing. I am looking forward to learning more about Dart and Flutter in the coming days and weeks. I am sure your content will be of great help to me in my journey. Thank you very much.
ОтветитьExceptional tutorial! 🥇
Ответитьis it possible for mixin to have an inherited variable? i it in a test in the same file, but i move the mixin in a separate file - it can't see the mixin variable ??
ОтветитьThanks for the video. Can a mixin be available to multiple classes? (means multiple classes can be used with "on" keyword ?
Pecking on Bird, AirBorneInsects{ ... }
you are amazing
ОтветитьAwesome
Ответитьis it a good idea to make an entity component systems where each component is a mixin?
ОтветитьWhat font are you using in your vscode?
ОтветитьOne of the best explanation for mixins!!
ОтветитьYou have a great knack for explaining tricky concepts in a simple way - great video
ОтветитьYou are awesome, high quality content, thanks!
ОтветитьBeauuuutiful
ОтветитьWhen would you use a mixin instead of an interface? Are they interchangeable? Or is more of a semantics issue? "Mixin is just something the object can do, Interface is a contract, something you know the object will do" ?
ОтветитьThis video is so funny 😂
ОтветитьThx for the video. BTW, only female mosquitoes, and only when producing eggs, are the ones that sucks blood.
ОтветитьI watched a video recently about why OOP is from the devil. And this pretty much demonstrates this. It seems you can do the same functionality in procedural code using just functions without any classes. If you have a fly that needs the functionality of buzzing and a mosquito that needs the same functionality you can just pass them as an argument to a 'buzz' function. And you won't have the luggage of object chains dragging behind you. In this example, you need a class for a fly, a class for a mosquito, an abstract class for flying insects. Not to mention other classes like flying animals that can buzz or whatever else.(I know this is done specifically for this example to illustrate the use of mixins, but those examples do exist in real life) And you need to think about this hierarchy constantly. How come it's not better to have a simple struct that houses the raw data of the fly or bee or whatever you want. Have a simple function 'buzz'. And pass that struct to this function without any classes involved.
Ответитьfantastic explanation! keep them coming!
ОтветитьNow finally understood when to usr mixins😌.
All thanx to you man🙏🏻✌
simply fantastic explanations
ОтветитьTop Notch quality tutorial man. Hat's off to you. I understand every f**king thing.
Ответитьit's really like the trait in scala
ОтветитьThanks, easy to understand your explanation.
ОтветитьBut my doubt is we CAN implement too? And do it multiple in case of interfaces. And each class can provide their own implementation with that behaviour method. Then why mixins? I understand the need for composition, other languages do ir too.
Ответитьthx clear explanation
Ответитьconcise and clear.
ОтветитьJust awesome .
Ответитьis mixing used for only methods or they can be used on properties too
ОтветитьGreat tutorial !
ОтветитьAmazing content!
Ответитьhelpful ❤️
it seems u got good knowledge about birds then flutter 😅
Wait a second, Abstract methods can not have a return body how is your can ? ( pls answer I am very confused now )
ОтветитьThanks man. Your flutter tutorials are enjoyably clear.
ОтветитьYou couldnt have a chose a better example. Really loved the explanation.
ОтветитьBest 13 minute video ever.
ОтветитьHey awesome brother ! anyone from Tenerife and working on flutter or wants to learn how to do it? Hola! Alguien vive en tenerife ?
Ответитьmay I know., what is you theme though?
ОтветитьNice animal this Swallow thing is. Is it a mamal?
ОтветитьMakes sense 🙂. Thank you for this very nice tutorial.
ОтветитьGreat content! Really helped me grasp the concept of Mixins. The examples were perfect. Keep up the good work!
ОтветитьI like this teacher, very patient, never tired of explanation.
ОтветитьVery nice examples thank you ❤❤❤❤❤❤❤❤
ОтветитьThank you sir this got me more clear on classes and mixins.❤❤❤❤
ОтветитьThis is how we need our college to teach us.😅
Ответитьwhy cant we just do like :-
abstract class Bird extends AirborneInsect {
void chirp() {
print('chirping');
}
}