SOLID Principles - Low Level Design | Coding Interview Series | The Code Mate

  Рет қаралды 94,188

The Code Mate

The Code Mate

3 жыл бұрын

SOLID Principles :
Creating a quality code throughout the development phase is undoubtedly the mission of any developer who really cares about your software product. The use of best practices tends to reduce code complexity, the coupling between classes, separating responsibilities and well defining the relations between them. These are simple ways to improve code internal quality.
The following 5 concepts make up our SOLID principles:
Single Responsibility
Open/Closed
Liskov Substitution
Interface Segregation
Dependency Inversion
The Session will give you a brief insight into various SOLID Principles, Through this session, you learn the benefits of SOLID principles with the examples.
🔥 DONT CLICK THIS: bit.ly/2BEDWYG
🎬 Low-Level Design Playlist: • Low Level Design | The...
👍 Let's Connect on Facebook: bit.ly/31KPcgI
🔗 Share within your network: • SOLID Principles - Low...
📲 Connect on Telegram: t.me/joinchat/Kc_ZkBsijqXJDWr...
#lld #llddesign #systemdesign #design #interviews #solid #solidprinciples

Пікірлер: 87
@dhanushdhama4410
@dhanushdhama4410 2 жыл бұрын
Timestamps : S - Single-responsibility Principle - 1:58 O - Open/closed Principle - 5:33 L - Liskov substitution Principle - 9:16 I - Interface segregation Principle - 13:03 D - Dependency inversion Principle - 15:30
@thecodemate7048
@thecodemate7048 Жыл бұрын
Thanks a lot for providing timeline details.
@mahenderp
@mahenderp 2 жыл бұрын
This has given me basic understanding on SOLID principles. In many videos, only it's theoritically explained, I could see code examples in this video. Thank you very much!!
@thecodemate7048
@thecodemate7048 2 жыл бұрын
Great to hear!
@fstreamdl1631
@fstreamdl1631 3 жыл бұрын
With the code snippets it became really easy to understand. Thx bro !! Also I am very new to DS and Algo and CP. Can you make a video what should be a path a beginner like me to excel in this area. I searched a lot but did not find any satisfactory answers.
@shivaprasad4379
@shivaprasad4379 2 жыл бұрын
The best thing which you've done is by explaining all principles with code examples, most of the youtube videos are theoretical and it doesn't really make any sense, You're done a great job, thanks a lot
@thecodemate7048
@thecodemate7048 2 жыл бұрын
Glad it was helpful!
@sudiptaaps
@sudiptaaps 2 жыл бұрын
SOLID description with SOLID examples..👍🏼 really appreciate. Thanks a lot. Please share links of other videos.
@thecodemate7048
@thecodemate7048 2 жыл бұрын
For more videos plz visit channel home page kzfaq.info/love/8ApNuO5mKg42DDVvn8g27A
@actzful
@actzful 3 жыл бұрын
The BookPrinter class breaks the open and closed principle. If you want to implement a new medium, you would have to go to the class and add new methods. Fix should be creating an interface Printer and has a method print and concrete classes can be create from that interface.
@aashishbudania4931
@aashishbudania4931 2 жыл бұрын
Just awesome, super crisp and clear, and quality content, Thanks! Looking forward to more videos😇
@thecodemate7048
@thecodemate7048 Жыл бұрын
I am glad that you liked it.
@raghuvardhansaripalli9636
@raghuvardhansaripalli9636 3 жыл бұрын
Boss thank you very much for your explanation. its nice. It is one of the GUN SHOT interview questions. I could not able to tell these SOLID principles. Thank you once again and GOD BLESS YOU.
@thecodemate7048
@thecodemate7048 3 жыл бұрын
I am glad that it helped you.
@ybetrayed
@ybetrayed 2 жыл бұрын
Awesome explained in detailed.Thanks 👍
@sanketskhandekar
@sanketskhandekar 3 жыл бұрын
Very good this guy need more support!
@aswintimalsina6030
@aswintimalsina6030 2 жыл бұрын
In the interface segregation principle's example, is it better that we extend TwoDimensionalShape interface in ThreeDimensionalShape because it is legit for ThreeDimensionalShape to calculate area and volume?
@kewtomrao
@kewtomrao 2 жыл бұрын
Thanks a lot. Liked and subscribed. Hopefully I get asked this question in the interviews.
@vaibhavbansod3528
@vaibhavbansod3528 3 жыл бұрын
Really helpful brother. Thanks a lot
@AmareshwarBhat800
@AmareshwarBhat800 5 ай бұрын
Nice voice. Very good example.
@amanagarwal9700
@amanagarwal9700 3 жыл бұрын
Thank you bhaiya for this great stuff
@ektayoga
@ektayoga 2 жыл бұрын
Thank you sir. You have made it simple to understand.
@thecodemate7048
@thecodemate7048 2 жыл бұрын
I am glad that it helped you.
@dhananajaykrishna8259
@dhananajaykrishna8259 3 жыл бұрын
Thank you so much for such a Great Video.... I think, Dependency Inversion means "Abstractions should not depend on details. Details should depend on abstractions". But there was NO Abstraction used in the example.
@johnnguyen1655
@johnnguyen1655 2 жыл бұрын
Hi friend, as my understanding, the interface Keyboard is "Abstraction" and Desktop class depends on Keyboard, not QwetyKeyboard or any others. Is that what you mentioned?
@TheCycloneTrooper
@TheCycloneTrooper Ай бұрын
Interface is an abstraction
@akgpian
@akgpian 2 жыл бұрын
So I have one doubt in "O" -> how will the operation then be called like I want to call add or div ? Is this again based on some switch case ?
@GauravSharma-wb9se
@GauravSharma-wb9se 2 жыл бұрын
what you explained in Liskov Substitution is still will not be able to interchange/replace vehicle subtypes, because vehicleWithEngine will have different method and vehicleWithoutEngie will have different method.......correct me if i am wrong and clear doubt
@rakshitkathawate8838
@rakshitkathawate8838 Жыл бұрын
That’s correct. Basically there are no longer part of Parent vehicle method. It actually made it worse
@palakmantry
@palakmantry 2 жыл бұрын
Irrespective of what some comments say about the negative feedback, THIS IS AN AMAZING EXPLANTATION💯💯
@rubenmatton6258
@rubenmatton6258 3 жыл бұрын
Damn you made it look so simple :o Thanks a lot
@thecodemate7048
@thecodemate7048 3 жыл бұрын
Thanks Ruben, My end goal is to explain complex topic with easy examples.
@ganapatibiswas5858
@ganapatibiswas5858 Жыл бұрын
Beautifully explained
@aarushnagar3062
@aarushnagar3062 3 жыл бұрын
Great video ✌
@akhilpatil455
@akhilpatil455 2 жыл бұрын
Very good video with examples!
@thecodemate7048
@thecodemate7048 2 жыл бұрын
Glad you liked it!
@ziyamohammed635
@ziyamohammed635 3 жыл бұрын
Really awesome, well explained.
@thecodemate7048
@thecodemate7048 3 жыл бұрын
Glad to know that. Keep Learning and Sharing.
@golgothaaksanti4935
@golgothaaksanti4935 3 жыл бұрын
this is awesome
@Narasimha_Nimmala
@Narasimha_Nimmala Жыл бұрын
Nice explanation with good examples. 👍👏
@thecodemate7048
@thecodemate7048 Жыл бұрын
Glad you liked it!
@niksgupta36
@niksgupta36 2 жыл бұрын
Amazing!
@ADNANAHMED-eo5xx
@ADNANAHMED-eo5xx 2 жыл бұрын
Great work man, thanks a lot
@thecodemate7048
@thecodemate7048 Жыл бұрын
You're welcome!
@EngineersDrive
@EngineersDrive Жыл бұрын
It's beginner level only.
@VikasRathee-wq4mr
@VikasRathee-wq4mr Жыл бұрын
I think Liskov substitution Principle that you defined is not exact. Example that you provided is about Interface segregation.
@mkkamle
@mkkamle 3 жыл бұрын
thank you for sharing, examples could have been better.
@shirish2005
@shirish2005 Жыл бұрын
nice explanation
@deepusasidharan2012
@deepusasidharan2012 2 жыл бұрын
Super one
@svalyavasvalyava9867
@svalyavasvalyava9867 3 жыл бұрын
thanks for the video!!!
@thecodemate7048
@thecodemate7048 2 жыл бұрын
Thanks Svalyava.
@shubhamchandra9258
@shubhamchandra9258 2 жыл бұрын
The most important design principle is "Code to an interface, never to concrete implementations." This principle alone keeps your code extensible and reduces coupling between classes. The moment you add dependency on concrete classes it gets tightly coupled to the implementations of that class and also inextensible.
@thecodemate7048
@thecodemate7048 Жыл бұрын
Yes, +1 to your input.
@santhoshisunaina3364
@santhoshisunaina3364 3 жыл бұрын
Good Explanation but the Dependency inversion principle is completely different from Dependency injection
@Iamanujkumar2011
@Iamanujkumar2011 3 жыл бұрын
I think dependency inversion is a principle. You can achieve dependency inversion with the help of dependency injection.
@deepusasidharan2012
@deepusasidharan2012 2 жыл бұрын
Fantastick
@thecodemate7048
@thecodemate7048 2 жыл бұрын
Thanks Deepu.
@himanshujain932
@himanshujain932 3 жыл бұрын
In open closed principle you have missed main logic
@nikunjrana5439
@nikunjrana5439 3 жыл бұрын
Good work but your explanation for liskov was bit complicated.
@justinjose6619
@justinjose6619 3 жыл бұрын
Super helpful :)
@thecodemate7048
@thecodemate7048 3 жыл бұрын
I am glad that it helped you.
@amlivingthelife
@amlivingthelife 3 жыл бұрын
so amazing videos bhaiya
@thecodemate7048
@thecodemate7048 3 жыл бұрын
Thanks Ankur
@AnuragKumar-rz5rt
@AnuragKumar-rz5rt 2 жыл бұрын
Why have you stopped creating videos? Please complete this series.
@thecodemate7048
@thecodemate7048 2 жыл бұрын
My goal was to give information regarding end to end process for LLD round. which i covered with 2 case studies. Will keep you posted if any further video will be planned for this series.
@ashaynayak5259
@ashaynayak5259 3 жыл бұрын
well explained Navneet
@thecodemate7048
@thecodemate7048 3 жыл бұрын
Glad to know that Ashay.
@mytube5182
@mytube5182 Жыл бұрын
well explained tq :)
@thecodemate7048
@thecodemate7048 Жыл бұрын
Happy to help
@sandeepjaiswal804
@sandeepjaiswal804 2 жыл бұрын
Excellent
@thecodemate7048
@thecodemate7048 Жыл бұрын
Thank you! Cheers!
@naidusunny2744
@naidusunny2744 3 жыл бұрын
Are you going to publish more videos on CP and design?
@thecodemate7048
@thecodemate7048 3 жыл бұрын
Yes Sunny, I do have few more concepts in mind, Will come back to playlist after completing few Case Studies in LLD. Thanks for watching!!
@naidusunny2744
@naidusunny2744 3 жыл бұрын
@@thecodemate7048 Thank you so much. All your videos are awesome, i learn something new from every video.
@naveenkumarmaddala7830
@naveenkumarmaddala7830 3 жыл бұрын
Hi, Thanks for sharing the video. Please make videos on Microservices.
@hirensavalia5575
@hirensavalia5575 3 жыл бұрын
Nicely explained. 👍 Examples are simple and easy to understand the concepts. Thank you Sir. ! ✌🏻
@thecodemate7048
@thecodemate7048 3 жыл бұрын
Glad to know that !!
@antonfernando8409
@antonfernando8409 2 жыл бұрын
cool
@ajaysinghpawar1257
@ajaysinghpawar1257 2 жыл бұрын
Superb Video bro
@thecodemate7048
@thecodemate7048 Жыл бұрын
Glad to know that.
@harshittrivedi1
@harshittrivedi1 2 жыл бұрын
Thank you so much, sir.. superb content :)
@thecodemate7048
@thecodemate7048 2 жыл бұрын
Most welcome!
@sanjusci
@sanjusci 2 жыл бұрын
Please make a video on Design Patterns.
@thecodemate7048
@thecodemate7048 2 жыл бұрын
I see there are many channels have good content on that, so thinking not to spend time on it.
@sanjusci
@sanjusci 2 жыл бұрын
@@thecodemate7048 I think you have no idea on that 🤣
@thecodemate7048
@thecodemate7048 2 жыл бұрын
@@sanjusci Jokes apart, I used to follow this playlist to get more insights on design patterns kzfaq.info/get/bejne/rLR4o9Z0mtTLj3k.html
@rakshitaraprajapat1120
@rakshitaraprajapat1120 6 ай бұрын
app manikaran shahib gye ho me bhi gyi hoo meri family ke sath
Learn SOLID Principles with CLEAN CODE Examples
28:35
Amigoscode
Рет қаралды 264 М.
Now THIS is entertainment! 🤣
00:59
America's Got Talent
Рет қаралды 36 МЛН
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,6 МЛН
SOLID Design Principles in java with Example | JavaTechie
34:44
Java Techie
Рет қаралды 180 М.
Google Coding Interview With A Facebook Software Engineer
49:59
Clément Mihailescu
Рет қаралды 927 М.
This is the Only Right Way to Write React clean-code - SOLID
18:23
Solid Principles Interview Questions - You Might Get Them
9:44
Monsterlessons Academy
Рет қаралды 6 М.
SOLID Principles in Laravel: 5 Examples (+ New Course!)
21:07
Laravel Daily
Рет қаралды 72 М.