Gofmt No Longer Allows Spaces. Tabs Only
code.google.com
Gofmt No Longer Allows Spaces. Tabs Only
1–10 of 57 posts
Re: Gofmt No Longer Allows Spaces. Tabs Only
#2Re: Gofmt No Longer Allows Spaces. Tabs Only
#3Re: Gofmt No Longer Allows Spaces. Tabs Only
#4Who actually uses tabs instead of spaces? I'm genuinely curious--one of the first things pretty much any project I've ever been involved in has been the setting of tabs characters to become spaces, simply because all text editors are retarded in this regard. This is quite strange.
What issues have you seen with regards to using tabs?
Re: Gofmt No Longer Allows Spaces. Tabs Only
#5This is the oldest most persistent argument in programming.
Re: Gofmt No Longer Allows Spaces. Tabs Only
#6Re: Gofmt No Longer Allows Spaces. Tabs Only
#7Who actually uses tabs instead of spaces? I'm genuinely curious--one of the first things pretty much any project I've ever been involved in has been the setting of tabs characters to become spaces, simply because all text editors are retarded in this regard. This is quite strange.
Unsure if trolling or not. It's quite easy to have your editor represent a tab character as "n spaces" - where n is the number of spaces you find pleasing. In fact, I can't recall a serious editor where this isn't the case. What issues have you seen with regards to using tabs?
Simply having the editor expand tabs (to whatever people agreed on, usually 4 for C/C++ that I've seen) and save spaces, always, makes life simpler.
EDIT:
See Grandpa Zawinski's post on same: http://www.jwz.org/doc/tabs-vs-spaces.html
Re: Gofmt No Longer Allows Spaces. Tabs Only
#8Re: Gofmt No Longer Allows Spaces. Tabs Only
#9Who actually uses tabs instead of spaces? I'm genuinely curious--one of the first things pretty much any project I've ever been involved in has been the setting of tabs characters to become spaces, simply because all text editors are retarded in this regard. This is quite strange.
These days I use spaces, because apparently that what is "correct" these days, but I still press tab. Sublime just turns it into spaces and displays the indent as a tab.
Re: Gofmt No Longer Allows Spaces. Tabs Only
#10Who actually uses tabs instead of spaces? I'm genuinely curious--one of the first things pretty much any project I've ever been involved in has been the setting of tabs characters to become spaces, simply because all text editors are retarded in this regard. This is quite strange.
Unsure if trolling or not. It's quite easy to have your editor represent a tab character as "n spaces" - where n is the number of spaces you find pleasing. In fact, I can't recall a serious editor where this isn't the case. What issues have you seen with regards to using tabs?
I can't come up with a particularly good reason for it, but I'm so used to spaces at this point that tabs feel very wrong.
If anyone else has a good explanation I'd love to hear it.