Because it warns you that you're probably nesting too deep and should 
consider breaking them into smaller functions. It's more of a coding 
practice, not some language standards. Read #1 from 
https://www.kernel.org/doc/html/v4.10/process/coding-style.html. 


On Friday, March 7, 2014 at 10:01:19 PM UTC+8, JohnGB wrote:
>
> I can't understand what the reasoning was for an 8 space indent.  I 
> realise that this doesn't affect the functioning of any code, but it does 
> affect whether the code fits on a screen and hence the code readability.  
> Even "A tour of Go" uses 4 space indents instead of 8.
>
> So what is the advantage of 8 space indents that isn't adequately 
> addressed by 4 space indents?
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to