News for hackers. Stuff that matters.
Re:Tabs or Spaces? The Top Starred Repositories in GitHub An... by beefsack on Saturday December 26, 2015 @07:41PM (#10795899)
Go actually uses a mix of tabs and spaces in gofmt, tabs for baseline indentation and spaces after that for vertical alignment.
Re:Tabs or Spaces? The Top Starred Repositories in GitHub An... by benatkin on Saturday December 26, 2015 @07:45PM (#10795912)
This is fantastic, and is how I'm picturing the IDE of the future would work internally, even if it lets people store the files with a variable number of spaces for indentation and does the transformation when reading and writing the file.
Re:Tabs or Spaces? The Top Starred Repositories in GitHub An... by dilap on Saturday December 26, 2015 @07:56PM (#10795944)
it's objectively the best way to indent, and yet so rare ;(