Click here to Skip to main content
15,895,772 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 
I believe that we are writing much better, more bug free code. When I started in this field, COBOL, FORTRAN and BAL (IBM Basic Assembly Language, for you youngsters Smile | :) ) were the big languages. Writing bug-free code was hard. Today, the object oriented, scope controlled languages are designed to minimize the writing of buggy code. Libraries of existing code make coding the problem solution relatively quick and easy.

The problem is not the code. It is all the steps leading up to the coding. Over the years, I have seen newbies (i.e. recent graduates) and junior engineers come to the profession with less and less ability in solving problems. This starts with identifying the problem to be solved, understanding it, and then developing a solution, with built in resilience. By resilience, I mean handling irrational or unexpected inputs, network access failures, hardware failures, credential revocation, malicious attacks, and so forth.

Many have trouble simply extracting the problem to be solved from the textual description. This is a skill that should be learned in high school and college math and science courses. Dividing the problem into solvable pieces should be taught in engineering courses, especially the lab courses. I found that I spent too much time mentoring new junior co-workers and each year, it seemed to get worse and worse. The girls were usually somewhat better than the boys, but afraid to act and speak. They boys often boasted of skills and abilities (book learning) they had yet to actually learn to use. Almost all of them eventually did well and were either promoted or moved on to other employers.Thumbs Up | :thumbsup:

__________________
Lord, grant me the serenity to accept that there are some things I just can’t keep up with, the determination to keep up with the things I must keep up with, and the wisdom to find a good RSS feed from someone who keeps up with what I’d like to, but just don’t have the damn bandwidth to handle right now.
© 2009, Rex Hammock


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... Pin
Mike (Prof. Chuck)24-May-21 1:03
professionalMike (Prof. Chuck)24-May-21 1: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.