[Lazarus] Packages and units with the same name
nc-gaertnma at netcologne.de
Fri Oct 13 22:09:00 CEST 2017
On Fri, 13 Oct 2017 16:32:37 -0300
"Marcos Douglas B. Santos via Lazarus" <lazarus at lists.lazarus-ide.org>
>[...]Its developers should not named their files considering that
> these names could be used in a bigger context. Don't you agree?
IMO reusable code should be named properly for a bigger context.
> IMHO, would be better if packages may have just some "exported units".
> What do you think?
If you mean Lazarus packages: FPC has only one type of unit, so
Lazarus can't mark units private.
Of course you can write a library. Then all unit names are hidden. But
then you loose a lot of comfort.
You might want to help FPC with namespaces.
More information about the Lazarus