3 ms·
> Code with spaces looks always good. Only if you don't care about the indent size, which many people do (otherwise we wouldn't be having this discussion). I
by IshKebab 9y ago
> Code with spaces looks always good.
Only if you don't care about the indent size, which many people do (otherwise we wouldn't be having this discussion).
I mean you may as well say everyone should use Times New Roman because then it always looks good.
- mjevans 9y agoYou only say that because you're MIXING indent styles. Tabs first, ALWAYS, one tab is one level of indent. go fmt uses the UNIX lineage of defaulting to 8 spaces converting to a tab (worded in reverse). Your editor should easily display tab stops at a value that is ideal for you; you could set this to 2, 3, 4, or any other value if it makes things more readable to you.