Facebook Go Libraries
github.com
Facebook Go Libraries
1–10 of 98 posts
Re: Facebook Go Libraries
#2Re: Facebook Go Libraries
#3Re: Facebook Go Libraries
#4OT but I think GitHub should show tabs as 4 columns. I find Go code is hard to read with all this whitespace.
Re: Facebook Go Libraries
#5OT but I think GitHub should show tabs as 4 columns. I find Go code is hard to read with all this whitespace.
Or better, we should save source code files replacing tabs with spaces. That's the best practice that makes everybody happy.
Groups of spaces and tabs are semantically different. Tabs mean indentation. Spaces mean spaces.
Re: Facebook Go Libraries
#6OT but I think GitHub should show tabs as 4 columns. I find Go code is hard to read with all this whitespace.
Re: Facebook Go Libraries
#7Earlier quoted context omitted.
Or better, we should save source code files replacing tabs with spaces. That's the best practice that makes everybody happy.
Go uses tabs. That's the law. It's in the documentation. Groups of spaces and tabs are semantically different. Tabs mean indentation. Spaces mean spaces.
Re: Facebook Go Libraries
#8Earlier quoted context omitted.
Or better, we should save source code files replacing tabs with spaces. That's the best practice that makes everybody happy.
Go uses tabs. That's the law. It's in the documentation. Groups of spaces and tabs are semantically different. Tabs mean indentation. Spaces mean spaces.
Sorry but this is false. The only thing a tab means, is tab.
Please provide your reasoning for the down voting. Thank you.
Re: Facebook Go Libraries
#9Looks more like Naitik Shah's open-source libraries.
edit: the files have "Copyright Facebook, Inc." anyway
Re: Facebook Go Libraries
#10OT but I think GitHub should show tabs as 4 columns. I find Go code is hard to read with all this whitespace.
No, it should show it as tabs, because that's what it is. Ideally, it should show it as 8 column tabs, as that is what gofmt assumes by default.