On Wed, Jan 14, 2026 at 6:09 PM Robert Engels <
ren...@ix.netcom.com> wrote:
> Yes it does. You can declare new variables while assigning to old in Go.
No it does not AFAICT. You wrote:
""""
... mixing of new and old declarations with new variables possibly
being introduced or old ones shadowed.
""""
Please show a playground program where this happens. Note: shadowing
can happen only across blocks. The rules for short variable
declarations apply only within one block.
Caveat emptor: Go specs do not define the term "shadowing". So you may
be using a very different definition of shadowing than most other
people have in mind when talking about shadowing variables in Go.