[Gambas-user] variable declaration everywhere ???

Jussi Lahtinen jussi.lahtinen at gmail.com
Fri Dec 14 20:46:27 CET 2018


I must say that I personally don't have use for making the declarations
everywhere. But I can well see how it can be used without any problems.
Thus I'm not against it.


Jussi

On Fri, Dec 14, 2018 at 4:01 PM Christof Thalhofer <chrisml at deganius.de>
wrote:

> Hi Jussi,
>
> Am 14.12.18 um 14:43 schrieb Jussi Lahtinen:
> > I'm quite skeptical about designing language so that it support only
> > good code. In my opinion inclusions / exclusions of features in the
> > language should be based solely on their usefulness,
> > regardless of their role in bad code. Otherwise you end up crippling the
> > language. Just think about it, no goto, restrictions on method length,
> > forced indention / whitespace part of syntax, etc.
>
> I like Goto very much, if soemone argues against it I always send this:
> https://lkml.org/lkml/2003/1/12/128
>
> But I also like the decision of Gambas to keep the declarations at the
> top. Both (can) make the code more clean and readable.
>
> There is no crippling of functionality in my mentions.
>
> Alles Gute
>
> Christof Thalhofer
>
> --
> [x] nail here for new monitor
>
> ----[ 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/20181214/9f4ac20a/attachment-0001.html>


More information about the User mailing list