219I personally use tabs(programming.dev)posted 1 year ago bygnuswann@programming.devin programmer_humor@programming.devView comments36 commentssavehidereportSort:HotTopControversialNewOldYou are viewing a single thread.View all comments View context [ +- ]WalrusDragonOnABike@kbin.social6 points1 year agoBut what if the chaos plays favorites and favors tabs? permalinksavereportparentreply[ +- ]lasagna@programming.dev3 points1 year agoFor line in lines: if char[0] == SPACE { del char[0]} else if char[0] == TAB {char[0] = SPACE*3} save(‘overwrite’) permalinksavereportparentreply