Liskov's Substitution Principle | SOLID Design Principles (ep 1 part 1)
VloĆŸit
- Äas pĆidĂĄn 22. 06. 2024
- What is the Liskov Substitution Principle? In this series we talk about the SOLID design principles.
đȘ Patreon Community
/ christopherokhravi
đ Products I Recommend
geni.us/71ZXF
I fully understood LSP when you said on 10:57 "they're trying to show us when we should not use Inheritance and when we shouldn't"
exactly!
So the quote states, that we shouldn't use inheritance :D Or there is an error. :D. LSP is says that we should adhere to method argument and return types, when using implementation or when extending abstract declarations or overrides. Usually when you do not do that, but implement Interface with type declarations you get Type Error. đ
And we have to understand that type declaration can be abstract or interface, so child classes can be a fit for as an argument or return type.
I have been watching online training videos for more than 15 years and the you can spot a great teacher when they have as much energy and enthusiasm as you do. Fantastic video
Hey Christopher, Hope you're very fine!
I got shocked why did you stop this serious.. where are other parts..??
You're awesome teacher and really you've the skill of explain things in a very clear and easy way..
please don't stop producing these kinds of videos.
waiting for other parts .. really in a big need to them .. really appreciate your efforts .. Keep it up!
So basically it's, "whatever the parent can do, the descendants should be able to do that [and more]"?
Omg, thanks a lot!
it's, "whatever the parent can do, the descendants should at least be able to do that"
@@lordmorgoth7 great words
@@lordmorgoth7 golden words
Yes but the big caveat is just because the child must do what the parent is able to do does not mean the child has to do it in the same fashion
unique perspective and wonderful deconstruction, thanks for sharing :)
it's 2020, still waiting for part 2...
I am so excited for the part 2. Especially for the past several years I've been avoiding variance, covariance etc and could really use his intuitive explanation.
Yup, we're all waiting for the rest.
Still waiting
Is part 2 ever coming? We are all looking forward to it!
It's 2022
I imagine with the actual viral context you may have spare time to continue this series ! The crowd ask for it!
Thank you. You have really helped me understand Design Patterns and now SOLID.
You are not assuming we know what you're talking about and that really helps get your knowledge across.
Thanks! Your comment is super helpful :) Much appreciated :) Thanks for watching and for the feedback :)
Mr Bean mastered design principles and became Christopher Okhravi...Great Explanation ...Thank you..
Bro you are doing a really good job. I really love the way you explain things.. more power to you.
part 2 ?
+1
+1
+1
+1
+1
Thank you! You helped me understand this principle the day before an interview!!
I swear, you should be the Dean of my University. Thank you a lot Mister Bean
part 2 to save my life
Wow! It takes you only 16 minutes to explain me Liskov principle and finally I can understand it. You are simply amazing!
This is one of the best explanations for this principle that I have been able to find out there. For many of them I would walk away feeling like I understood everything that was being said, but not like a I learned something that I could apply, let alone ideas on how to apply it. I would love for this series to be completed if you have the chance or for you to address the topic as part of another series.
It's indeed a great lecture! I have been trying to understand Liskov's Substitution Principle for a long time. Obviously I had some understandings which is correct but I also had some confusions as well. But your explanation is so clear that now I don't have any confusion about it. Thank you so much.
You are the best man!! I've watched all your videos about Design Patterns and now I'm watching this and your explanation is simply great!. Thanks a lot!
Preparing for exam and this masterpiece is pop up. Great Explanation
2018 almost finished.. still no part 2? you can't do that to us mate :-)... Imagine Game of Thrones not releasing season 8
now after watching season 8, I wish they didn't released it. lol
we would have lived without season 8.
Amazing! Usually, this is one of the hardest questions during interviews. Thank you for the hard work!
Great as always Christopher, love your videos and your way of explaining stuff, don't stop please :)
Learn the most difficult things while your brain stopped and doesn't work with Cristopher's magical videos. Thank you man.
When you started to use different colors, Evrika! LSP started to make sense! good job! thank you
Gist: The subtype MUST be able to do what its base type can do - Excellent clip! Keep posting good stuff.
I though I knew Liskov's Substitution Principle for around a year but its only today I understand it correctly. Thank you very much Christopher Okhravi
When I study I vocalize my ideas similar to how Christopher conducts his presentations. I love the demystification of concepts in order to allow more people to get the job done, and enjoy engineering, no reason to be selfish or arrogant, these youtubers are fighting the good fight I think.
đđ
Thanks a lot man for your visionary approach. I'm about to get my dream job thanks to your educational channel. Keep up the good work.
Wow! Thats cool! Congratulations for the new job! đđ
Please continue this series, you're awesome!
Really great way of teaching the things, i loved to learn from you.
Thank you sir! :) I'll share this with my friends. very helpful.
Yeehaw! Thank you very much :) And thank you for watching :)
This is excellent. I look forward to new part. You're awesome
Thank you so much, really nice job!
Thank you! Please continue the tutorials!
Chris
Yeah, the same here I like him.
This video has useful content worth just 2 mins.
Really makes it's simpler to understand !! Way to go
Thanks! Iâm glad to hear :)
You rock! Thank you for these videos!
Just discovered your channel... And my my, What a fine job you have done explaining these concepts. I am from a non-Computer Science Background and even I was able to understand the logic in one go !!
Seems like it's been more than an year that you did the 1st episode... Not sure why you dropped the Series... but like me many would love to see the 2nd and subsequent episodes in this series. đ
Thanks for this :)
I believe understanding SOLID will help in understanding Design patterns a lot better.
Thanks! Iâm glad to hear :) Itâs all connected indeed! :)
Great explanation! Been reading about it for an hour and nothing made sense, but your video made it clear :)
Amazing explanation !! Thanks a lot :)
Great, clear and funny as always! Thanks a lot
Thank you so much! This is a great video to explain horrible LSP and really helped me to understand it :)
Great topic for a new series!
Thanks! Iâm glad the topic is appreciated :)
The funny thing is that you had a video on Liskov Substitution Principle posted on July 2016, that was the video that made me discovery your channel.
Haha :) Awesome! Super thanks for sticking around :D :D
OMG thank you so much I have an exam on Wednesday and I was lost with LSP principle.... I never enjoyed a lesson this much before thank you again
Aha. Great stuff :) How convenient :) :) Best of luck on the exam! đđ
Christopher Okhravi I explained LSP to my friends before exam and they were like âoh thatâs it đź itâs so easyâ and I was like âyeah can you imagine â and then gave them the link to your CZcams channel đ
BTW DIP came in the exam not LSP đ
except that scenario question with classes and DIP example I think I did well
You are incredible, thanks for your time please keep it up
And thank *you* very much for watching :) :)
Not only a great explanation, this was entertaining as well.
Thanks for making it easy!
this guy is so excited hahah
thank you man
Top Notch explanation, i'm not a native english speaker and i followed some guides on PluralSight, came here because i still didn't get.
Now i heared u talking, it's darn simpel, once u get it!
Thanks alot!
I really hope that you continue this series.
Or at least start a new one talking about the same topic.
Chris you are a savior. Just love you videos.
Waiting for next episode. đ
Wow! Youâre an awesome teacher. Thank you so much!
It was very easy to understand with the help of your video. Thank you
Reaaaaaally want to see the next episde :)
Great explanation, thanks a lot.
10:08 is what you have been looking for .... EXCELLENT !!!
cannot wait for part 2 !!!!
Your videos are great
Waiting for the rest of the playlist
Glad to hear :) New design patterns video coming Monday but after that hopefully another LSP video. Thanks for watching :)
Christopher Okhravi
That is also good I am following the design pattern playlist too xD
Lovely lesson! Thanks
One of the best explanations...
Please continue making these videos!)
Great work man .. you are making things easy to understand.. waiting for other principles ..
the best explanation pf lsp. Please return to make these videos. You are one of the best teacher on youtube
Woow... That was awesome
Please keep it up.. Great job
And yeah, thanks for sharing.
BTW, I missed that cat đ LOL
Thank you for the wonderful explanation
its been 4 years since i commented, still waiting for part 2 :)
Awesome man! So easily served!
Love his passion teaching đ
Great lecture, thank you!
Thank you Chris. Please continue this series on the SOLID principle if possible. Your the best.
Thanks! Will do :) Thanks for watching :)
You're fantastic at explaining things! (Much like Tim Corey) - where'd you go?!
Great job for you!
New episode! Thanks
I watch many videos to understand about LSP, Finally i am got my inner peaceđ»
made my life easier! thank you
Ech. That would be super cool to hear more about this in the next episode .... Hope it's going to be created eventually ;) regards
Well done!
I have still waited for the next one!
really hope to see the next part. You are amazing broo
THANKS bro, love from Chile!
THANKS!
it was Cool
Excellent explanation!
Oh my gosh! Thank you !!!!!!
Please do the other parts Christopher. You are awesome!
You are amazing. I love the way you explain. đ
Sir you are doing great job and seems you are enjoying it
Hi Chris, really nice explanation, but you know best part @ 5:36 which my daughter of 3.5 years Liked a Lot, She didn't understand the principle but she likes ur expression a lot ...!!!,
Thanks
you rock! Looking forward for your pat2
All your explanations are so good and simple , its like listening to a story , so interesting , although I see you don't have a part 2 for this :( , requested by a lot of users
2020 year, after a lot of videos listening blah blah and blah about Liskov's Substitution, finally understand the Liskov Substitution Principle then I Think this video was awesome need the next one, it's pretty weird that CZcams is not showing part two on following video, go to authors channel, looking for the part two that never comes.
Please continue this amazing videos
Your vids are great. More ppl should be watching them.
Yea, I definitely need the second part lol
While watching your design patterns videos (I watched all of them, all of the way through..) - I wished that you would do the SOLID principles as well, and here we are :)
I just recently learned from one of your videos that the snail would speak, but it would have a NullSpeaking behavior that's returned when you run Speak() on the snail.
Hello Christoph, You are awesome. I think I have watched almost all of your sessions on design patterns. This one is also amazing and simplified, but I didn't find the part 2 in this playlist. Could you please help with quick link?
This is great
Very Unique way of explanation, I have see many videos on SOLID principles , this one standout. Great!!!
I'd really love to see you pick this back up.