Click here to Skip to main content
15,893,622 members

Survey Results

Do you have a coding style?   [Edit]

Survey period: 7 May 2012 to 14 May 2012

Do you have a consistent way in which you format code, arrange files, methods, your projects, your comments? Or is it all a little ad lib? Do you have, in short, a Coding Standards Bible that you adhere to?

OptionVotes% 
I work to a strict, fixed coding standard12212.68
I work to a well defined standard that occasionally changes33434.72
I work to a clear style that constantly evolves.35036.38
I sometimes write some of my code against a standard959.88
No standards.616.34



 
GeneralRe: Strict coding standard. Pin
codeBegin9-May-12 21:10
codeBegin9-May-12 21:10 
QuestionHasn't this been debated in the Lounge, Ad nauseam? Pin
Slacker0077-May-12 1:29
professionalSlacker0077-May-12 1:29 
AnswerRe: Hasn't this been debated in the Lounge, Ad nauseam? Pin
Eddy Vluggen8-May-12 8:40
professionalEddy Vluggen8-May-12 8:40 
GeneralNo choice Pin
RedSonja7-May-12 0:20
RedSonja7-May-12 0:20 
GeneralFlexible and Fixed PinPopular
Nagy Vilmos6-May-12 21:57
professionalNagy Vilmos6-May-12 21:57 
GeneralRe: Flexible and Fixed Pin
CDP18027-May-12 1:07
CDP18027-May-12 1:07 
GeneralRe: Flexible and Fixed Pin
Nagy Vilmos7-May-12 1:10
professionalNagy Vilmos7-May-12 1:10 
GeneralStructure = readability, but too strict = less adaptability Pin
Nelek6-May-12 21:07
protectorNelek6-May-12 21:07 
I like a good structured, commented, readable code. So I do it as I would like it to receive from others, but I don't change the structure of a software that is already done.

If I start it from the beggining, it is OK. But if I get something I have to fix, to complete or to add new features. Then I try to do it following the same structure it already has. I know , someone will say that is not good, but it is already enough having to introduce myself in the structure of a previous programmer. Having to do in different structures... would be worst that a kick on XXXX (Kid sister's rule). So I try to make it as close as possible.

But this is not the only reason.

In the industry world, to change the structure of a software (no matter how bad it is) can give you a lot of problems with the maintenance people, because they are used to it, and... if maintenance people start saying bad things about you, you can lose the client. So... before changing anything... Ask and Reask (and if you can get it on paper... even better).
Regards.
--------
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpfull answers is nice, but saying thanks can be even nicer.

GeneralIt makes me who I am.. Pin
VallarasuS6-May-12 19:46
VallarasuS6-May-12 19:46 
GeneralRe: It makes me who I am.. Pin
Rob Grainger7-May-12 10:23
Rob Grainger7-May-12 10:23 

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.