@[email protected] to Programmer [email protected] • 2 years agoI personally use tabsprogramming.devimagemessage-square25fedilinkarrow-up178arrow-down11
arrow-up177arrow-down1imageI personally use tabsprogramming.dev@[email protected] to Programmer [email protected] • 2 years agomessage-square25fedilink
minus-squareWalrusDragonOnABikelinkfedilink1•2 years agoBut what if the chaos plays favorites and favors tabs?
minus-square@[email protected]linkfedilink2•2 years 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’)