logoalt Hacker News

hahahahhaahyesterday at 7:52 AM0 repliesview on HN

Go:

    r, err:= fn()
Compiles if r is already declared. Creates a new lexical scope that has no access to the outer r. So the outer r doesn't get set. And I get a bug!