Click here to Skip to main content
15,501,342 members

Survey Results

Are we, as developers, getting better or worse at writing good code?

Survey period: 24 May 2021 to 31 May 2021

A very loaded question, sure, but try and think about when you first started writing code and the examples you read and the code you worked on, and compare it to what you see now.

In general I think we as a profession are definitely writing better code75839.42
I think developers these days are generally writing better code39120.33
I can't see much of a change from years past39520.54
I think the quality of code is going down1377.12
I think the quality of code is definitely getting worse824.26
Unanswerable: Code quality is in the eye of the beholder884.58
Wrong question: it's not about quality. it's about whether it does the job and how much it cost to write723.74

GeneralNaming things is hard and other nonsense Pin
Pete Lomax Member 1066450531-May-21 4:06
professionalPete Lomax Member 1066450531-May-21 4:06 
GeneralI think it depends on the type of person you ask Pin
honey the codewitch30-May-21 7:46
mvahoney the codewitch30-May-21 7:46 
Generala manichean pov ? Pin
BillWoodruff28-May-21 5:40
mveBillWoodruff28-May-21 5:40 
GeneralImproved due to unit tests, tools (IDE, ReSharper) and books like Code Complete, Clean Code and Design Patterns Pin
Doug Domeny26-May-21 11:42
professionalDoug Domeny26-May-21 11:42 
GeneralNot only due to devs... there are a lot of factors Pin
Nelek26-May-21 4:52
protectorNelek26-May-21 4:52 
GeneralQuantity over quality Pin
Daniel Pfeffer25-May-21 12:58
professionalDaniel Pfeffer25-May-21 12:58 
GeneralDepends on the definition of better code Pin
SkysTheLimit25-May-21 8:14
MemberSkysTheLimit25-May-21 8:14 
GeneralRe: Depends on the definition of better code Pin
willichan25-May-21 10:09
professionalwillichan25-May-21 10:09 
It really does depend on how you are defining "good code", but you still really can't make a fair comparison.

I still remember developing under the 640k limit. We would spend weeks prior to release shrinking memory use to cut that to as close as half as possible. Modern programs don't seem to put as much care into memory usage. I don't really blame the developers so much. The tools and the dev environments don't really appear to be geared toward it. There is also the argument that memory is cheap, and it isn't a concern anymore. I can't argue with that either. I think I would rather see developers focusing more on security than memory usage myself.

It really is hard to compare coding from then and now. The focus is changed, and keeps changing over time. Thus the standards for evaluating code is also changing. It is kind of like comparing contemporary athletes to the "early greats". You really can't in a fair manner, since rules and even physical venues have also changed over time.

Money makes the world go round ... but documentation moves the money.
GeneralRe: Depends on the definition of better code Pin
SkysTheLimit25-May-21 11:13
MemberSkysTheLimit25-May-21 11:13 
Generalmixed bag Pin
Matt McGuire25-May-21 6:35
professionalMatt McGuire25-May-21 6:35 
GeneralSo close... Pin
sam-silvercreek25-May-21 4:43
Membersam-silvercreek25-May-21 4:43 
GeneralFrom the user's standpoint Pin
Slow Eddie25-May-21 3:20
professionalSlow Eddie25-May-21 3:20 
GeneralConsider how many new devs every year Pin
maze325-May-21 1:12
professionalmaze325-May-21 1:12 
GeneralBoth, I guess? Pin
acomputerdog24-May-21 7:24
professionalacomputerdog24-May-21 7:24 
GeneralRe: Both, I guess? Pin
Mike (Prof. Chuck)24-May-21 20:03
professionalMike (Prof. Chuck)24-May-21 20:03 
GeneralBetter code, but not solving the problems Pin
Jalapeno Bob24-May-21 7:03
professionalJalapeno Bob24-May-21 7:03 
GeneralRe: Better code, but not solving the problems Pin
rjmoses25-May-21 7:25
professionalrjmoses25-May-21 7:25 
Generalwe get better over time Pin
MarcusCole683324-May-21 4:54
professionalMarcusCole683324-May-21 4:54 
GeneralThe Devil is running rampant... Pin
Marc Clifton24-May-21 3:18
mvaMarc Clifton24-May-21 3:18 
GeneralRe: The Devil is running rampant... Pin
Davide Zaccanti24-May-21 21:15
MemberDavide Zaccanti24-May-21 21:15 
GeneralRe: The Devil is running rampant... Pin
KateAshman25-May-21 5:55
MemberKateAshman25-May-21 5:55 
GeneralThings that are going awry Pin
W Balboos, GHB24-May-21 2:55
mveW Balboos, GHB24-May-21 2:55 
GeneralRe: Things that are going awry Pin
CyclingFoodmanPA24-May-21 3:23
MemberCyclingFoodmanPA24-May-21 3:23 
GeneralRe: Things that are going awry Pin
KateAshman25-May-21 6:08
MemberKateAshman25-May-21 6:08 
GeneralSome are playing Lego, some think they need to do nuclear physics... PinPopular
Mike (Prof. Chuck)24-May-21 2:03
professionalMike (Prof. Chuck)24-May-21 2:03 

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.