so many informations in just 7 min amazing job man . i have to rewatch it again and again to take the most out of it . thanks for your time sir really amazing series
i have rewatched so many times to make sure i have comprehend whats in the 8 mins :). Seasonal devs might grasp quick. Crisp and highly informative videos! thanks.
Wonderful. Now I understood that Java's Cloneable interface is nothing but prototype design pattern. When I read about Cloneable from Effective Java book, I didn't realise that this is prototype design pattern. Thank you very much @Geekific. I have observed one difference. With Cloneable instead of calling super class's copy constructor, it invokes super.clone()
Yes you are right :) This video is about explaining the the ideas behind the Prototype Pattern, and what you mentioned is an implementation detail, that is why I figured it wasn't necessary to show every single class created! Hope this answers your question!
Well we're not talking about cloning in this case, its *converting* !! You have to create a convertToDto method in your fruit class to convert fruit entity to dto Or create a FruitConverter class (preferably a singleton) that has two methods: convertToFruitEntity & convertToFruitDto
Hey! You may be mixing a couple Java concepts here! Please take a look at these videos: th-cam.com/video/0-41SMoV_TA/w-d-xo.html & th-cam.com/video/_drNcLWgUlE/w-d-xo.html and let me know if you still have this question :)
so many informations in just 7 min amazing job man . i have to rewatch it again and again to take the most out of it . thanks for your time sir really amazing series
Awesome, glad you are enjoying the series
i have rewatched so many times to make sure i have comprehend whats in the 8 mins :). Seasonal devs might grasp quick. Crisp and highly informative videos! thanks.
It is a superb content. It took me 4-5 time of rewatch but now my concepts are clear. Thanks man
Wonderful. Now I understood that Java's Cloneable interface is nothing but prototype design pattern. When I read about Cloneable from Effective Java book, I didn't realise that this is prototype design pattern. Thank you very much @Geekific.
I have observed one difference. With Cloneable instead of calling super class's copy constructor, it invokes super.clone()
honestly your explantions are amazing
Thanks a lot! Glad you are enjoying our videos :)
Very well explained. Thanks.
Glad you liked it! :)
Deep, precise, and clear explanation. Thank you
Glad you think so! Thank you :)
Thanks u, you saved my life
How we are setting value of Class attribute in registery the attribute of Car class is private and there is no setters u have shown???
Yes you are right :) This video is about explaining the the ideas behind the Prototype Pattern, and what you mentioned is an implementation detail, that is why I figured it wasn't necessary to show every single class created! Hope this answers your question!
@@geekific understood, So i did according u mentioned can u check my code if i send u over mail or as u suggest.
I think JavaScript works somehow this way
شكرا
perfect
Thank you!
can we do prototyping for differnt type of objects , suppose one is 'Fruit ', other is 'FruitDTO'
I am not sure I got the question :(
Well we're not talking about cloning in this case, its *converting* !! You have to create a convertToDto method in your fruit class to convert fruit entity to dto
Or create a FruitConverter class (preferably a singleton) that has two methods: convertToFruitEntity & convertToFruitDto
@@haithemnasri7210 thanks
Weird thing is that we trying to solve copying now... when arrays have Copy function, that just utilizes copy of data (memcopy) in RAM.
Hello! We are detailing and explaining the Prototype pattern as it figures in the GoF book :) Feel free to use it as you see fit!
how are fields immutable when there is no final keyword there ??
Hey! You may be mixing a couple Java concepts here! Please take a look at these videos: th-cam.com/video/0-41SMoV_TA/w-d-xo.html & th-cam.com/video/_drNcLWgUlE/w-d-xo.html and let me know if you still have this question :)
I find the code in this video extremely confusing. Im having problems relating the spoken information to the written information D:
Sorry to read that! Let us know which parts were confusing so we can try and help you!
what does super(car) do. time : 5:47
It calls the constructor of its parent class.
I didn't know that object of the same class can access the private fields of another object of the same class
I am not sure I got you. Sorry!