Click here to Skip to main content
15,889,281 members

Survey Results

Do you code using SOLID principles?   [Edit]

Survey period: 18 Oct 2010 to 25 Oct 2010

If you don't know about SOLID principles then go here. Now.

OptionVotes% 
Yes13619.88
No, but we're moving that way9213.45
No11016.08
I don't know what SOLID principles are.34650.58



 
GeneralRe: Explains the anonymity Pin
Nish Nishant23-Oct-10 1:55
sitebuilderNish Nishant23-Oct-10 1:55 
GeneralWrong forum PinPopular
Nemanja Trifunovic18-Oct-10 3:08
Nemanja Trifunovic18-Oct-10 3:08 
GeneralRe: Wrong forum Pin
Nish Nishant18-Oct-10 3:40
sitebuilderNish Nishant18-Oct-10 3:40 
GeneralNever heard of it PinPopular
RugbyLeague17-Oct-10 23:40
RugbyLeague17-Oct-10 23:40 
GeneralRe: Never heard of it PinPopular
Pavel Vladov18-Oct-10 0:21
Pavel Vladov18-Oct-10 0:21 
GeneralSolids PinPopular
NormDroid17-Oct-10 23:23
professionalNormDroid17-Oct-10 23:23 
GeneralRe: Solids Pin
Nish Nishant18-Oct-10 3:40
sitebuilderNish Nishant18-Oct-10 3:40 
GeneralSince last year I try to use SOLID and DRY in a big way Pin
Nigel-Findlater17-Oct-10 22:55
Nigel-Findlater17-Oct-10 22:55 
Last year I was lucky enough to have a software review by an external you really knew a lot about OO principles. I would add DRY (Don't Repeat Yourself) as one of the key principles to apply when coding.

Here's a short summary I made of these principles, I hope it helps...

Great suggestion for a survey, not enough programmers know and understand these principles....

SRP The Single Responsibility Principle: A class should have one, and only one, reason to change.
OCP The Open Closed Principle: You should be able to extend a classes behavior, without modifying it.
LSP The Liskov Substitution Principle: Derived classes must be substitutable for their base classes.
ISP The Interface Segregation Principle: Make fine grained interfaces that are client specific.
DIP The Dependency Inversion Principle: Depend on abstractions, not on concretions.

The Liskov Substitution Principle (LSP)
Any function that uses a base class must not be confused when a derived class is substituted for the base class
The Dependency Inversion Principle
1. High level modules should not depend upon low level modules. Both should depend upon abstractions
2. Abstractions should not depend upon details. Details should depend upon abstractions
GeneralRe: Since last year I try to use SOLID and DRY in a big way Pin
Keith Barrow18-Oct-10 3:15
professionalKeith Barrow18-Oct-10 3:15 
GeneralRe: Since last year I try to use SOLID and DRY in a big way Pin
NormDroid18-Oct-10 4:03
professionalNormDroid18-Oct-10 4:03 
GeneralWho would guess it stands for Pin
leppie17-Oct-10 21:48
leppie17-Oct-10 21:48 
GeneralRe: Who would guess it stands for Pin
NormDroid17-Oct-10 23:24
professionalNormDroid17-Oct-10 23:24 
GeneralRe: Who would guess it stands for Pin
Nish Nishant18-Oct-10 3:40
sitebuilderNish Nishant18-Oct-10 3:40 
GeneralRe: Who would guess it stands for PinPopular
NormDroid18-Oct-10 4:00
professionalNormDroid18-Oct-10 4:00 
GeneralRe: Who would guess it stands for Pin
Richard A. Dalton21-Oct-10 23:46
Richard A. Dalton21-Oct-10 23:46 
GeneralRe: Who would guess it stands for Pin
Nish Nishant22-Oct-10 4:18
sitebuilderNish Nishant22-Oct-10 4:18 
GeneralOdd PinPopular
Keith Barrow17-Oct-10 21:06
professionalKeith Barrow17-Oct-10 21:06 
GeneralRe: Odd Pin
Nagy Vilmos17-Oct-10 21:59
professionalNagy Vilmos17-Oct-10 21:59 
GeneralRe: Odd PinPopular
#realJSOP18-Oct-10 1:54
mve#realJSOP18-Oct-10 1:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.