48 comments
screwlisp
@RichiH @acousticmirror
Riedler
@acousticmirror I've heard of safe spaces, but safe tabs? not so much. I think Rust should remove support for this unsafe feature
Matthew Booth
@acousticmirror This is why I call it invisible source code! I prefer my semantics in plain sight.
Gabriel Pettier
@acousticmirror funny but would be nice to add a description! Edit: my bad, there is one indeed!
Gabriel Pettier
@acousticmirror oh my bad, misunderstood the lack of content in preview when i reboosted, thanks for doing it!
Job
@acousticmirror And yet, as soon as I mention that I set my editor to display tabs with a width of three spaces, these two "opposing" camps seem to have no problem agreeing that I should be burned at the stake.
Andrew
@vanderZwan @acousticmirror The optimal tab width is π. It's wide enough to be obvious, but not so wide as to reduce line length too much. Plus, it discourages the use of tabs for alignment by being the number most difficult to approximate with any integer number of spaces.
Job
@andrewt @acousticmirror From now on I will judge text editors by their ability to support non-integer indentation width
hambier
@acousticmirror Nice one.
. stdh .
@hambier @acousticmirror Oh dear, you found a situation that actually requires tabs and spaces mixed! Shell script is so π₯ :blobcatgooglytrash: π₯
David Nash
@acousticmirror (gets used to having a decided preference for spaces) (starts programming in Go) π€·
Dis
@number137 @acousticmirror #Python should have already cursed you with an opinion before you get to #YAML πΈ
DiamondHeighter
@harney @acousticmirror They just need to configure their editor to insert a given number of spaces when they hit the TAB key.
Craig Nicol
@acousticmirror I remember working on a codebase that used a single space for indentation because otherwise the nested blocks didn't fit on the screen. So yes, set the tab stop to 1 and keep everyone... Happy?
β Pixel Prophecy πΊπ¦πͺπΊ
@acousticmirror Finally being officially vindicated by this meme here! Thank you for posting the one and only CORRECT way of doing it!
64 Islands Airship Co-op
@acousticmirror or be thoroughly up to date and switch to U+202F NARROW NO-BREAK SPACE throughout |
@acousticmirror <one leading tab of 8 spaces width, followed by levels of 4 spaces> #openBSD