Yes it does. You can declare new variables while assigning to old in Go. 

A very poor design choice imo. 

> On Jan 14, 2026, at 10:47 AM, Jan Mercl <[email protected]> wrote:
> 
> On Wed, Jan 14, 2026 at 5:44 PM Robert Engels <[email protected]> wrote:
> 
>> You highlight a very dumb rule of the syntax in my opinion. The mixing of 
>> new and old declarations with new variables possibly being introduced or old 
>> ones shadowed.
> 
> It's not dumb because it does not do what you wrote it does.

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/01A82FE7-DB1E-49ED-924C-384624492D67%40ix.netcom.com.

Reply via email to