[Gambas-user] variable declaration everywhere ???

Jussi Lahtinen jussi.lahtinen at gmail.com
Wed Dec 12 00:29:10 CET 2018


Aesthetics or practical issue?


Jussi

On Wed, Dec 12, 2018 at 1:17 AM Benoît Minisini <g4mba5 at gmail.com> wrote:

> 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
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20181212/d1d88963/attachment.html>


More information about the User mailing list