Live data from Hacker News

Go beyond Goroutines: introducing the Reactive paradigm

samuelberthe.substack.com

41–43 of 43 posts

Re: Go beyond Goroutines: introducing the Reactive paradigm

#41

Earlier quoted context omitted.

Tabs are the recommended indentation method for Go code. It is interesting that they switched after the first example, though.

I'm well aware of it. But I don't think I have ever seen an editor/website which would display it as 9 spaces. Github for example default to 4 spaces width.

Yes, this is very weird. But Go Playground[1] has always been using 8 spaces per tab for some reason. I always found that very jarring, particularly where almost every other editor or documentation has settled on 4 spaces per tab.

[1] https://go.dev/play/

Post reply on HN