21 Oct
2009
21 Oct
'09
2:29 p.m.
2009/10/21 Masklinn <masklinn@masklinn.net>:
If not, why single out assignment as a special case that requires an explicit declaration of "Yes, I really do want to create a new local here"?
Because in all those other cases, the fact that you "really do want to create a new local here" is part of the statement's semantics. Why repeat it?
Actually in the other cases an existing variable is assigned if it was already defined in the current scope, or it is defined if it was not - like in the assignment syntax. -- Marcin Kowalczyk qrczak@knm.org.pl