Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It can't be the worst experience if things actually line up.


I was being flippant but... things actually line up if you force everything to tabs too (or “smart tabs” if you really really want alignment for some reason).

Except with tabs everyone gets whatever width they want. Tab width is configurable system wide (and even in GitHub’s terrible web view).

Spaces are objectively worse in every possible way and require workarounds and editor hacks to make them behave like tabs. Skip a step & just use tabs: much better.


It's only objective if you're controlling the objectives. Here's my counter-example.

Go here in a browser: https://github.com/id-Software/Quake-III-Arena/blob/master/c...

Note that the use of tabs has caused un-alignment. You've claimed that tab width is configurable in git's web view, but I can't figure out how to do it.

And further, if it requires me to configure in a certain way, then it's not really true that "everyone can configure tabs how they want".

Spaces. Set it and forget it. Works everywhere, every time. Objectively better.


>Objectively better.

You can't really say that definitively without ignoring the laundry list of negatives that come with spaces. Spaces are not configurable at all. That, in itself, is reason enough that Tabs are "objectively better".


That’s due to the spaces tho, not the tabs. It’s the lines that used spaces that look awful.

You literally provided me with more proof spaces are bad. Good example.


Nope, it's the tabs. The only lines that are mis-aligned are mis-aligned because of tabs, not spaces. And it is a good example.


I see the exact opposite but.. k.


Interesting. Perhaps you've been using spaces all along, but somehow they appear to be tabs to you. What a twist that would be.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: