[Gambas-user] Pre-release of Gambas 3.17.0 - Namespace Support
Benoît Minisini
g4mba5 at gmail.com
Mon Mar 7 23:30:43 CET 2022
Le 07/03/2022 à 23:22, Christof Thalhofer a écrit :
> Am 07.03.22 um 20:16 schrieb Benoît Minisini:
>
>> I removed the option from the IDE, because I think it can be a big
>> source of confusion if the namespace is not explicit in each class.
>
> Although I think I would only ever use a single namespace per library, I
> imagine you are right.
>
> But then we have to live with the fact that typos can also throw the
> programmer into confusion:
>
> "Export To Deganius"
> vs
> "Export To Degenius"
>
> For me I would find a default namespace for a library convenient and
> helpful. But i also think that we will be able to retrofit it when we
> see that it is more practical later on.
>
> Is the option still in the interpreter but 'hidden' in the IDE?
>
> Alles Gute
>
> Christof Thalhofer
>
It's just hidden in the IDE. The option is in the compiler. The
interpreter does not care with namespaces.
Regards,
--
Benoît Minisini
More information about the User
mailing list