waiwaiwaiwaiwait. did you say TABS or spaces? oh my fucking god. oh my god. i’m so sorry, i have partial hearing loss
@kivikakk
Better than spaces, TBH
@wakame @kivikakk Both broken, and the use of spaces is semantically incorrect.

Unfortunate for pragmatic reasons I'm stuck using mostly spaces (since most tools just had spaces hacked into sort-of working instead of actually fixing the problem at the source).

https://nick-gravgaard.com/elastic-tabstops/
Elastic tabstops - a better way to indent and align code

Elastic tabstops - a better way to indent and align code

@lispi314 @kivikakk

"Semantically incorrect" vs. "I want my code to look the same in every editor any other person might use, because I'm a pendantic... bunnyrabbit"

@wakame @kivikakk It should look however the user prefers, with the right semantics so their settings are applied sensibly without needing all sorts of horrid hacks to determine appropriate heuristics.

The only exception should be for things like ASCII art, which generally doesn't work without monospace fonts anyway.

@lispi314 @kivikakk

I have wanted to write a "Pi" editor plugin for a while:

When saving, all tabs are replaced with n spaces, the first tab with the first digit of pi, the second tab with the second digit and so on.
Import works the same.

"IDK what your problem with indentation is, looks fine on my computer." 

Edit: Maybe I should add the line number into the count to make it worse.

@lispi314 @kivikakk

function bubblesort(arr) {
for(let round=0;round<arr.length;round++) {
for(let i=round;i<arr.length-1;i++) {
if(arr[i]>arr[i+1]) {
let tmp = arr[i];
arr[i] = arr[i+1];
arr[i+1] = tmp;
}
}
}
}

Hmm, perfection 

@lispi314 Some flavours of BASIC solved this back in the 80s. No indentation by default but the user can choose how different things are indented and which things to apply indentation to.