[Gambas-user] variable declaration everywhere ???

Benoît Minisini g4mba5 at gmail.com
Wed Dec 12 00:16:33 CET 2018


Le 12/12/2018 à 00:11, Jussi Lahtinen a écrit :
> Why would it be harder to debug?
> David gave great example of it usage (pretty much only case where I use 
> it) and I think it only makes code more readable and less scope for the 
> variable.
> 
> 
> Jussi
> 

Because as soon as variables can be declared anywhere, people will start 
to use that for writing ugly code. :-)

-- 
Benoît Minisini


More information about the User mailing list