[Lazarus] OT: Namespaces?

Tom Miller madprogextrodinr at gmail.com
Wed Apr 8 23:11:47 CEST 2009


This isn't name spacing, but aliases.

Hans-Peter Diettrich wrote:
>  From a discussion I want to present this idea:
>
> FPC (and Delphi) could extend the Uses syntax to
>    USES <unitname> [IN <filename>] [AS <identifier>]
>
> The optional AS part would allow to create an alias (shortcut...) for 
> units of possibly conflicting (same) name. IMO a simple implementation 
> of the most important benefits of namespaces, that does not require the 
> introduction of orthogonal namespaces in addition to units.
>
> While this suggestion is not related to Lazarus, I still would 
> appreciate comments from the community.
>
> DoDi
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>   




More information about the Lazarus mailing list