gnuswann to Programmer Humor · 1 year agoI personally use tabsimagemessage-square36fedilinkarrow-up1256arrow-down13
arrow-up1253arrow-down1imageI personally use tabsgnuswann to Programmer Humor · 1 year agomessage-square36fedilink
minus-squareWalrusDragonOnABike@kbin.sociallinkfedilinkarrow-up6·1 year agoBut what if the chaos plays favorites and favors tabs?
minus-squarelasagnalinkfedilinkarrow-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’)