sebastiancarlos@lemmy.sdf.org to Programmer Humor@lemmy.mlEnglish · 2 years agoNew VS Code Extension Replaces Booleans with Toggleslemmy.sdf.orgexternal-linkmessage-square15fedilinkarrow-up15arrow-down10
arrow-up15arrow-down1external-linkNew VS Code Extension Replaces Booleans with Toggleslemmy.sdf.orgsebastiancarlos@lemmy.sdf.org to Programmer Humor@lemmy.mlEnglish · 2 years agomessage-square15fedilink
minus-squaresebastiancarlos@lemmy.sdf.orgOPlinkfedilinkEnglisharrow-up2·2 years agoGood point. I actually thing that having if x == true is bad practice anyway because it’s redundant, so showing a toggle in that context would have the benefit of highlighting that something’s wrong.
Good point. I actually thing that having
if x == true
is bad practice anyway because it’s redundant, so showing a toggle in that context would have the benefit of highlighting that something’s wrong.