Here is your answer - https://tip.golang.org/doc/faq#declarations_backwards

On Thursday, 20 September 2018 11:00:11 UTC+5:30, Sathish VJ wrote:
>
> I've been asked this question a few times and I haven't been able to find 
> an answer.  Why does go reverse the order of variable declaration:  "i int" 
> vs "int i"
>
> Is there anything in the language design that requires this or was it 
> based on readability/writability or related to the parsing process or 
> something else?
>

-- 
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