177
submitted 1 month ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 7 points 1 month ago* (last edited 1 month ago)

I think it's commendable to vertically align code. (Just not with tabs.) It makes it look neater.

[-] [email protected] 2 points 1 month ago

We underutilize tabs. https://nick-gravgaard.com/elastic-tabstops/

(Don't mistake this as me saying everyone should start using tabs immediately. This would take a drastic overhaul of all textual displays and we're likely to never see such a thing, but it's still a cool concept.)

[-] [email protected] 1 points 1 month ago* (last edited 1 month ago)

Good to see tabs' fundamental flaw was solved. I think I'll be switching to this.

[-] [email protected] 1 points 1 month ago

You can't unless the tools you're using to display tabs do it like this. None do, apart from the proof of concept programs on the site.

But it is a cool idea.

[-] [email protected] 1 points 1 month ago

I think i saw a vscode plugin on the page

[-] [email protected] 1 points 1 month ago

It's not "solved." Not trying to dive into yet another tabs vs. spaces argument. But this is just another example of how tabs can be pretty neat when they're interpreted in a specific way. But it's up to your editor, plugin, etc. to do so. Take the same text and throw it into an editor that doesn't use this same interpretation, and it immediately falls apart.

this post was submitted on 17 Jun 2025
177 points (97.3% liked)

Programmer Humor

37270 readers
30 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS