"Now, this is entirely possible, which should not be possible because... it's stupid" I lost it there. That was just hilarious for some reason. Great tutorials. Great explanations that keep things relevant, to the point, and are easy to follow and understand. Keep up the good work.
I love this style of tutorials! Super simple to understand and great use of examples with the occasional hilarious dry commentary. Thank you for taking time to explain so clearly to dart noobs like me and keep up the good work! :)
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.
This is nice. For self taught beginner programmers like me who last coded in pascal an eon ago, these videos do come in handy. Please do more of these if you can. The community salutes you.
11:00 Hi! Just trying to complement here: I think it should be a good moment to say that peck() may have had chirp() as a dependency injection bc not all birds can chirp!
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.
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" ?
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 ??
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.
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{ ... }
I love these dart basics videos ... please do more bruv
I will!
"Now, this is entirely possible, which should not be possible because... it's stupid"
I lost it there. That was just hilarious for some reason. Great tutorials. Great explanations that keep things relevant, to the point, and are easy to follow and understand. Keep up the good work.
Nice one! Between the two of us we'll probably cover everything in Flutter for developers to build production ready apps 😁
I definitely hope so!
You two are awesome... I learnt 0 to building apps in flutter from both you guys....😁😁
@@nanisamireddy Doooooooooope!
@@FilledStacks 😁😉
I love this style of tutorials! Super simple to understand and great use of examples with the occasional hilarious dry commentary. Thank you for taking time to explain so clearly to dart noobs like me and keep up the good work! :)
I'm happy you like this format!
I like this teacher, very patient, never tired of explanation.
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.
Thanks man. Your flutter tutorials are enjoyably clear.
You couldnt have a chose a better example. Really loved the explanation.
I'm so glad I came across your channel. Very high quality videos, which have been very useful in developing my current Flutter app
Best 13 minute video ever.
This is nice. For self taught beginner programmers like me who last coded in pascal an eon ago, these videos do come in handy. Please do more of these if you can. The community salutes you.
You have a great knack for explaining tricky concepts in a simple way - great video
One of the best explanation for mixins!!
Great content! Really helped me grasp the concept of Mixins. The examples were perfect. Keep up the good work!
Thank you sir this got me more clear on classes and mixins.❤❤❤❤
Awesome!!! I learned a lot about birds! ;-) Really!
Now finally understood when to usr mixins😌.
All thanx to you man🙏🏻✌
Top Notch quality tutorial man. Hat's off to you. I understand every f**king thing.
Makes sense 🙂. Thank you for this very nice tutorial.
11:00 Hi! Just trying to complement here: I think it should be a good moment to say that peck() may have had chirp() as a dependency injection bc not all birds can chirp!
Thanks, easy to understand your explanation.
simply fantastic explanations
Very nice examples thank you ❤❤❤❤❤❤❤❤
fantastic explanation! keep them coming!
Amazing content!
it's really like the trait in scala
great that you knew scala.
You are awesome, high quality content, thanks!
Great tutorial !
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.
concise and clear.
Exceptional tutorial! 🥇
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" ?
Oh crap! My scoped model pattern with multiple mixins and one AppModule suddenly makes sense!
Just awesome .
Nice tutorial nice explanation with mixin and on...😍😍😍😍
please do more dart andplayslist
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 ??
Please make a video that explain the factory constructor 🙏
thx clear explanation
Thx for the video. BTW, only female mosquitoes, and only when producing eggs, are the ones that sucks blood.
if two mixins have same method name then how can we call the desired method
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.
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{ ... }
is mixing used for only methods or they can be used on properties too
Thanks Nice work
Nice animal this Swallow thing is. Is it a mamal?
may I know., what is you theme though?
What font are you using in your vscode?
Great video! What microphone are you using for your videos? The sound quality is amazing!
Thanks! I use Rode NT-1A, most of my previous videos used Auna Mic 900B
is it a good idea to make an entity component systems where each component is a mixin?
Well explained 👍
I'm glad it helped you!
Wait a second, Abstract methods can not have a return body how is your can ? ( pls answer I am very confused now )
helpful ❤️
it seems u got good knowledge about birds then flutter 😅
I think you forgot to delete void flutter() from abstract class Bird even when it is with Fluttering. There is duplication, right? 09:19
Oh, of course I forgot!
you are amazing
Awesome
thanks. What software do you use to make these videos (ie. how do you add the swallow pic and the talk bubble)
Premiere Pro for editing and OBS for recording.
This video is so funny 😂
1:44 what a method name! 😂
Beauuuutiful
Hey awesome brother ! anyone from Tenerife and working on flutter or wants to learn how to do it? Hola! Alguien vive en tenerife ?
why cant we just do like :-
abstract class Bird extends AirborneInsect {
void chirp() {
print('chirping');
}
}
Reso, no more lessons on Kotlin?
This is how we need our college to teach us.😅
Mixin = merging
It's called Traits in PHP world!. Mixins = Traits😆 PHP Guys...
The same thing in Groovy