<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class=""><div class=""><div style="background-color: rgb(255, 255, 255); font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;" class=""><div id="yui_3_16_0_ym18_1_1459228604445_4742" dir="ltr" class="">Having more that one variable with the same name in one method is stupid and the language should prevent that at least.&nbsp;</div></div></div></div></blockquote><div><br class=""></div><div>Actually, we're doing it all the time:</div><div><br class=""></div><div>if let foo = foo {</div><div>&nbsp; ...</div><div>}</div><div><br class=""></div><div>var foo = foo</div><div><br class=""></div><div>You can do this in a subscope, you can do this to the arguments, and you can do this to fields.</div><div><br class=""></div><div>A.</div><div><br class=""></div></div></body></html>