DEV Community

Cover image for SOLID Principles: It's That Easy! 😱 STANDOUT 🌟 with SOLID Principles! 🧙‍♂️✨

SOLID Principles: It's That Easy! 😱 STANDOUT 🌟 with SOLID Principles! 🧙‍♂️✨

Mohamed Ismail on January 21, 2024

Hey there, 👋 Awesome Developers! 🚀 Today, let's dive into the basics of SOLID principles. If you're ready to level up your coding game! ...
Collapse
 
drilonhametaj25 profile image
Drilon Hametaj •

Very very good explanation! I have a question, so we need to make very specific class for what we want, but is there a limit that says "Ok enough, I'm unpacking too much and I'm messing myself up, I'm not helping myself"? Thank you

Collapse
 
ihssmaheel profile image
Mohamed Ismail •

Great question! It's important to create specific classes, but too much detail can make things complicated. Check if the extra details really make your code clearer or just add confusion. Aim for a balance that makes your code easy to manage.
Thanks for your comment 💖.

Collapse
 
corners2wall profile image
Corners 2 Wall •

Wow so fresh and great article!

Collapse
 
ihssmaheel profile image
Mohamed Ismail •

Appreciate it! ✨

Collapse
 
_ndeyefatoudiop profile image
Ndeye Fatou Diop •

Great post ! Every example is super useful !

Collapse
 
ihssmaheel profile image
Mohamed Ismail •

Thanks Man! 💖

Collapse
 
devtronic profile image
Julian Finkler • • Edited

You explained SoC instead of SRP, common mistake 😅

edit: and the ISP example does not point out the concept of the principle.

edit2: All the examples aren't related to their principles 🫠

Collapse
 
ihssmaheel profile image
Mohamed Ismail •

Thanks for the feedback man! I'll fix the confusion in explaining SRP and make the ISP example clearer. I'll also make sure each example fits its principle better. Your input helps a lot! 🙏

Collapse
 
christianpaez profile image
Christian Paez •

very good

Collapse
 
ihssmaheel profile image
Mohamed Ismail •

Thanks @christianpaez 💖

Collapse
 
georgexp97 profile image
Georgexp97 •

Great post

Collapse
 
ihssmaheel profile image
Mohamed Ismail •

Thanks! George 💖