go-proverbs / go-proverbs.github.io

Inspired by @rob_pike talk at Gopherfest SV 2015
MIT License
334 stars 21 forks source link

index.html: add shadows warning #1

Closed philips closed 8 years ago

philips commented 8 years ago

Via Paul Rademacher here: http://www.meetup.com/golangsf/events/223166840/comments/457810152

jbuberel commented 8 years ago

@philips

Talked this one over with the team, and the general consensus was that this entry (even if reworded to be "Be Aware of Shadows") should probably not be included.

There are legitimate uses for shadowed variables, and we would rather not turn the list of proverbs into a catalog of Go language "gotchas".

I'll reply to Paul directly.