This is the oldest most persistent argument in programming.
It sounds like he's fine w/ anyone using a tool to format by spaces.
That said, this is quite un-newsworthy.
11–20 of 57 posts
This is the oldest most persistent argument in programming.
It sounds like he's fine w/ anyone using a tool to format by spaces.
That said, this is quite un-newsworthy.
This is the oldest most persistent argument in programming.
No, Fitz is not advocating tabs over spaces in coding. He is saying gofmt loses a large part of its purpose if it does not enforce a particular style, and the Go devs happen to prefer tabs. It sounds like he's fine w/ anyone using a tool to format by spaces. That said, this is quite un-newsworthy.
Who 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?
Look here: https://github.com/clojure/clojure/blob/master/src/clj/cloju...
I want the bindings being declared within that let to line up with one another. the first one immediately follows "(let [" so I need the rest to be indented six characters past where the let was originally indented. Six, not N times whatever the tab width happens to be in whichever editor someone's looking at the code in. This is the problem with tabs.
Who 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.
Now, with tabs, anyone may customize how the width is VIEWED, but the representation on disk is universal.
Earlier quoted context omitted.
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?
Grabbing some Clojure code because it's nearest to hand. Look here: https://github.com/clojure/clojure/blob/master/src/clj/cloju... I want the bindings being declared within that let to line up with one another. the first one immediately follows "(let [" so I need the rest to be indented six characters past where the let was originally indented. Six, not N times whatever the tab width happens to be in whichever edito…
This is the oldest most persistent argument in programming.
The right way to solve all this tabs/spaces indentation mess would be to use Elastic Tabstops¹. 1) http://nickgravgaard.com/elastictabstops/