Click here to Skip to main content
15,886,639 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.

OptionVotes% 
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 3:06
professionalPete Lomax Member 1066450531-May-21 3:06 
GeneralI think it depends on the type of person you ask Pin
honey the codewitch30-May-21 6:46
mvahoney the codewitch30-May-21 6:46 
Generala manichean pov ? Pin
BillWoodruff28-May-21 4:40
professionalBillWoodruff28-May-21 4:40 
GeneralImproved due to unit tests, tools (IDE, ReSharper) and books like Code Complete, Clean Code and Design Patterns Pin
Doug Domeny26-May-21 10:42
professionalDoug Domeny26-May-21 10:42 
GeneralNot only due to devs... there are a lot of factors Pin
Nelek26-May-21 3:52
protectorNelek26-May-21 3:52 
GeneralQuantity over quality Pin
Daniel Pfeffer25-May-21 11:58
professionalDaniel Pfeffer25-May-21 11:58 
GeneralDepends on the definition of better code Pin
SkysTheLimit25-May-21 7:14
SkysTheLimit25-May-21 7:14 
GeneralRe: Depends on the definition of better code Pin
willichan25-May-21 9:09
professionalwillichan25-May-21 9:09 
GeneralRe: Depends on the definition of better code Pin
SkysTheLimit25-May-21 10:13
SkysTheLimit25-May-21 10:13 
Generalmixed bag Pin
Matt McGuire25-May-21 5:35
professionalMatt McGuire25-May-21 5:35 
GeneralSo close... Pin
sam-silvercreek25-May-21 3:43
sam-silvercreek25-May-21 3:43 
GeneralFrom the user's standpoint Pin
Slow Eddie25-May-21 2:20
professionalSlow Eddie25-May-21 2:20 
GeneralConsider how many new devs every year Pin
maze325-May-21 0:12
professionalmaze325-May-21 0:12 
GeneralBoth, I guess? Pin
acomputerdog24-May-21 6:24
professionalacomputerdog24-May-21 6:24 
GeneralRe: Both, I guess? Pin
Mike (Prof. Chuck)24-May-21 19:03
professionalMike (Prof. Chuck)24-May-21 19:03 
GeneralBetter code, but not solving the problems Pin
Jalapeno Bob24-May-21 6:03
professionalJalapeno Bob24-May-21 6:03 
GeneralRe: Better code, but not solving the problems Pin
rjmoses25-May-21 6:25
professionalrjmoses25-May-21 6:25 
Generalwe get better over time Pin
MarcusCole683324-May-21 3:54
professionalMarcusCole683324-May-21 3:54 
GeneralThe Devil is running rampant... Pin
Marc Clifton24-May-21 2:18
mvaMarc Clifton24-May-21 2:18 
GeneralRe: The Devil is running rampant... Pin
Davide Zaccanti24-May-21 20:15
Davide Zaccanti24-May-21 20:15 
GeneralRe: The Devil is running rampant... Pin
KateAshman25-May-21 4:55
KateAshman25-May-21 4:55 
GeneralThings that are going awry Pin
W Balboos, GHB24-May-21 1:55
W Balboos, GHB24-May-21 1:55 
GeneralRe: Things that are going awry Pin
CyclingFoodmanPA24-May-21 2:23
CyclingFoodmanPA24-May-21 2:23 
GeneralRe: Things that are going awry Pin
KateAshman25-May-21 5:08
KateAshman25-May-21 5:08 
GeneralSome are playing Lego, some think they need to do nuclear physics... PinPopular
Mike (Prof. Chuck)24-May-21 1:03
professionalMike (Prof. Chuck)24-May-21 1:03 
First:
The change I see is not so much on overall code quality (it's always the same: experienced seniors write stable code "as they did for so much time" and juniors with little to no experience "write code where the cursor just happens to be").
So many (young and old!) devs totally under-estimate that correct formatting, naming and intending is super important.
I call that "polite code". Code that can be read by someone else.
Not that mess of a mixture between blanks-or-tabs, sometimes 4-indent, sometimes 2...

Second:
The real problem these days arise when a web-dev meets a desktop-dev, or a so-called "script dev" meets an "oop dev" (don't you dare to tell me, php is an OO-language! it knows classes, but that doesn't make it an OO-language).

There are really GREAT frameworks and design toolkits and a thousand great libraries out there that allow you to create cool websites in minutes.
Same is true (to some extend) for mobile devs and a bit less for desktop devs.

One can like or dislike platform-independent languages which produce output for all of them, that's not the point.

The Point:
The point is, while some (experienced and newbs alike) see coding these days more like building a Lego-House by just putting some pre-made pieces together and hoping, it will all work out, some others don't like all that high-level stuff and prefer to code as-low-level-as-possible, doing everything by hand.

While its true, the latter will have more control over things that happen, the others are super-fast. Managers often see only "time and costs" and will go for the high-level path.

The Result:
8 out of 10 websites look the same, have the same bugs, because they are done with the same toolkit by the same kind of people, who no longer care about "the stuff behind the scenes".
But they were fast and therefore cheap.

So, yes, the overall quality is going down. Lightning-fast. But it looks amazingly good while it does that. Cool | :cool:

Just my 2 cent
|| You know nothing, Jon Snow.
|| The most important thing in Scrum? ... The "r"!
|| My Android Label (mbar Software)
|| My Android Apps in Play Store

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.