TehBamski@lemmy.world to Asklemmy@lemmy.ml · 5 months agoProfessional Scientists of Lemmy: What is your field of study's, most complex unanswered question?message-squaremessage-square78fedilinkarrow-up139arrow-down11
arrow-up138arrow-down1message-squareProfessional Scientists of Lemmy: What is your field of study's, most complex unanswered question?TehBamski@lemmy.world to Asklemmy@lemmy.ml · 5 months agomessage-square78fedilink
minus-squareSandbagTiara2816@lemmy.dbzer0.comlinkfedilinkarrow-up1·5 months agoGenuinely curious - what do we know makes code very bad?
minus-squarexJREB@lemmy.worldlinkfedilinkarrow-up2·4 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: