tab width (in a monospaced editor)
@Felthry i don't actually *use* tabs but i have them set to display as 8 cos that's what ghc interprets them as
@g what's ghc? gec-hydrocannabinol?
-F
@Felthry glasgow haskell compiler. so i guess i should have said haskell since being a layout sensitive language it's necessarily dictated by the standard
but yeah no one actually uses tabs in haskell because it's too much trouble, and actually indenting by 8 would make you fall off the page pretty fast
@g layout sensitive, like python you mean? we don't know haskell
-F
@g also yeah we got used to 2 because that's the standard tab width in MATLAB and Octave
-F
@Felthry basically yeah, but the rules are a bit different from python's ofc
@g well yeah, naturally, every language has its own syntax
-F
@Felthry is it weird i am not at all surprised no one chose 3?
@curls i would have been surprised if anyone at all chose 1, 3, or more (and somoene did choose more, and i was surprised)
-F
@curls apparently the reason they chose more is that a tab is syntactically equivalent to eight spaces in haskell, a language that uses indentation for syntax, similar to python
-F
@Felthry well if you assume most people select based on preference, and 1 is too little, 5+ is too much, and 2 and 4 are ok values, than statistically 3 might be someone's preference, yet somehow no one selected that. feels like it just looks off somehow, maybe because it's an odd number.
@Felthry voted four spaces but there's an asterisk because in PICO-8 we use one space
- 🎒
@Felthry five spaces, every time
@lorxus huh! unexpected
also unexpected that someone actually voted 3 finally
-F
@Felthry We use 8! Initially mostly because it was Vim's default, but it also makes reading easier.
@Felthry (And hard tabs let us use Really Wide Tabs without messing up anybody else!)
@Felthry Not for any particular language or because of weird language-specific stuff, we just use 8 for basically everything.
@Felthry Although honestly 8 might be a bit too wide, we've been kinda considering switching to 6.
@Felthry 8 spaces are the default in nano and I'm too lazy to change it
if you answer more, please elaborate
that's a lot of spaces for a tab, what kind of language do you use?
-F