TehBamski@lemmy.world to Asklemmy@lemmy.ml · 6 months agoProfessional Scientists of Lemmy: What is your field of study's, most complex unanswered question?message-squaremessage-square110fedilinkarrow-up1229arrow-down12
arrow-up1227arrow-down1message-squareProfessional Scientists of Lemmy: What is your field of study's, most complex unanswered question?TehBamski@lemmy.world to Asklemmy@lemmy.ml · 6 months agomessage-square110fedilink
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: