gnuswann@programming.dev to Programmer Humor@programming.dev · 1 year agoI personally use tabsprogramming.devimagemessage-square35fedilinkarrow-up1176arrow-down13
arrow-up1173arrow-down1imageI personally use tabsprogramming.devgnuswann@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square35fedilink
minus-squareWalrusDragonOnABike@kbin.sociallinkfedilinkarrow-up2·1 year agoBut what if the chaos plays favorites and favors tabs?
minus-squarelasagna@programming.devlinkfedilinkarrow-up3·1 year agoFor line in lines: if char[0] == SPACE { del char[0]} else if char[0] == TAB {char[0] = SPACE*3} save(‘overwrite’)
But what if the chaos plays favorites and favors tabs?
For line in lines: if char[0] == SPACE { del char[0]} else if char[0] == TAB {char[0] = SPACE*3}
save(‘overwrite’)