Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 17:27

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Explained] What is a SOLID Code ? Is it necessary?

Discussion on [Explained] What is a SOLID Code ? Is it necessary? within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
Trade Restricted
 
cr.Sensei's Avatar
 
elite*gold: 24
Join Date: Jul 2022
Posts: 17
Received Thanks: 1
Post [Explained] What is a SOLID Code ? Is it necessary?

Hello everyone! I'm Sensei. I have been coding since 2015 and working as Senior Full-Stack Developer.

I am here to give some information to our friends who are known by software developers working in many companies today, but who stepped into this new world with their own efforts.SOLID simply means good and understandable code.


S — Single-responsibility principle

A class (object) can only be changed for one purpose, which is the responsibility imposed on that class, meaning that a class (which can also be reduced to a function) has only one job to do.

O — Open-closed principle

A class or function should preserve existing properties and not allow changes. That is, it should not change its behavior and should be able to acquire new features.

L — Liskov substitution principle

We should be able to use subclasses instead of the (superior) classes from which they derive, without needing to make any changes in our code.

I — Interface segregation principle

Instead of gathering all the responsibilities into a single interface, we should create more customized interfaces.

D — Dependency Inversion Principle


Dependencies between classes should be as low as possible, especially high-level classes should not depend on lower-level classes.
cr.Sensei is offline  
Reply

Tags
solid, solid code


Similar Threads Similar Threads
Dupe-Exploit-explained-1-hit-anything-DeathEssence-Mask-explained
05/01/2017 - SRO Private Server - 53 Replies
Found this on Rev6. What do you guys think :)? In my opinion it's fixable with Proxy Filter Software. Post from Rev6: The *dupe* exploit which was found before the StallNetwork exploit and wasn't fully fixed, was kept private and massively used by 2 players between 2008-2012. The exploit was first discovered as a disconnect exploit, up until we realized we could dupe using it. With the exploit, you can:
Dupe, good explained
10/21/2008 - General Gaming Discussion - 20 Replies
THIS NO LONGER WORKES THERE ARE WORKING VERSION BUT THEY ARE PRIVATE STOP SENDING ME PM'S FOR ITEMS OR THE NEW METHODE follow these precise steps: (i assume you don't know how to use olly so i try to be most precise i can)
Money, Trading, and Duplicate Hack EXPLAINED
05/08/2007 - Conquer Online 2 - 20 Replies
PURE OWNAGE GUIDE OF PACKETS, ENCRYPTING, AND DECRYPTING Hopefully this will asnwer MANY questions about Money Hack, Trade Hack, Duplicate Hack, ETC! This is meant for Noobs And Intermediate Level, ALL CAN UNDERSTAND! text2schild.php?smilienummer=1&text=Volcabula ry' border='0' alt='Volcabulary' /> Packet: A unit of data sent across a network. Imagine sending an instant message, the text is on your screen, it gets sent to the server, and then gets sent to the person whom you have...
PvE Armor Sets Explained
12/25/2006 - WoW Guides & Templates - 1 Replies
TBC PvE Armor Sets First off, there are 3 End-Game PvE Armor sets, 1 End-Game PvP Armor set, and 1 End-Game Arena Armor set planned. I'm just going to go ahead and number these as I see fit (i.e. Tier XX), if a more official numbering convention comes out, I'll edit my post. PVE SETS All current PvE Sets planned for TBC are 5-piece sets!!!



All times are GMT +1. The time now is 17:28.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.