3 ms·
Spaces. The variability in the ways tabs are displayed, which you can not control, make tabs a non-starter. Spaces always look like spaces. So when you use t
by citrusx 10y ago
Spaces.
The variability in the ways tabs are displayed, which you can not control, make tabs a non-starter.
Spaces always look like spaces. So when you use them, your text looks the same wherever it is displayed, and that requires no additional work.
The one caveat here (if you don't already know) is that the `make` utility has never been updated to allow spaces, even to this day. So, you must use hard tabs in Makefiles.
Also worth knowing is that Python's official style guide, PEP-8, insists on spaces (specifically, 4 spaces), and the officially-provided formatting tool for Go uses tabs (a decision that I was most displeased with). It's physically possible to go against these recommendations, but you're not likely to find any community cooperation for that decision if you're working in those two languages.
- WayneBro 10y ago> The variability in the ways tabs are displayed, which you can not control, make tabs a non-starter. You can absolutely control the way tabs are displayed. Using a poorly built tool that doesn't give you that option is the non-starter. The rest of what you said are just random facts that don't really support your preference.
- deleted 10y ago[deleted]
- datalist 10y agoI second what WayneBro wrote.
- datalist 10y agoA downvote for agreeing with someone, seriously?
- bryanlarsen 10y agoI didn't downvote you, but your comment doesn't add anything to the public conversation, it just clutters it. Just click the upvote button next time.
- edoceo 10y agoWhy force your preferred indentation display on others? #arrogance
- jjpe 10y agoIf it's your code you can write it however you like, usually. That's not arrogance, it's just how this piece of the world works.