[fpc-pascal] How choose units names?
graemeg.lists at gmail.com
Thu Jul 22 09:56:13 CEST 2010
On 21 July 2010 21:55, Marcos Douglas <md at delfire.net> wrote:
> How you have no conflict with names of the units? Do you use some
> prefix in your units as "uwebutils.pp", "mywebutils.pp",
> "xyzWebUtils.pp", etc.
In the fpGUI project I now prefix all units with 'fpg_' and all
classes start with 'Tfpg' - I indeed ran into unit or class name
conflicts with FPC units. I suppose this is where languages like Java
resolved this via directory and file namespaces - though I am not a
fan of the directory namespace thing, but it seems to work for them.
- Graeme -
fpGUI - a cross-platform Free Pascal GUI toolkit
More information about the fpc-pascal