Hacker News new | ask | show | jobs
by beefsack 3826 days ago
Go actually uses a mix of tabs and spaces in gofmt, tabs for baseline indentation and spaces after that for vertical alignment.
2 comments

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.
it's objectively the best way to indent, and yet so rare ;(