@sebastiancarlos to Programmer Humor@lemmy.mlEnglish • 1 year agoNew VS Code Extension Replaces Booleans with Toggleslemmy.sdf.orgimagemessage-square24arrow-up1112arrow-down11
arrow-up1111arrow-down1imageNew VS Code Extension Replaces Booleans with Toggleslemmy.sdf.org@sebastiancarlos to Programmer Humor@lemmy.mlEnglish • 1 year agomessage-square24
minus-square@sebastiancarlosOPlinkEnglish7•1 year 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.