TehBamski@lemmy.world to Asklemmy@lemmy.ml · 7 months agoProfessional Scientists of Lemmy: What is your field of study's, most complex unanswered question?message-squaremessage-square108fedilinkarrow-up1230arrow-down12
arrow-up1228arrow-down1message-squareProfessional Scientists of Lemmy: What is your field of study's, most complex unanswered question?TehBamski@lemmy.world to Asklemmy@lemmy.ml · 7 months agomessage-square108fedilink
minus-squareSandbagTiara2816@lemmy.dbzer0.comlinkfedilinkarrow-up2·6 months agoGenuinely curious - what do we know makes code very bad?
minus-squarexJREB@lemmy.worldlinkfedilinkarrow-up3·6 months agoA few bad things in code for which we have fairly consistent evidence: high nesting depth meaningless or single-letter variable names lots of code duplication very inconsistent formatting very complicated Boolean conditions with AND and OR functions with a lot of parameters
Genuinely curious - what do we know makes code very bad?
A few bad things in code for which we have fairly consistent evidence: