[fpc-pascal] [OFF TOPIC] How choose units names?
Marcos Douglas
md at delfire.net
Wed Jul 21 21:58:49 CEST 2010
On Wed, Jul 21, 2010 at 4:55 PM, Marcos Douglas <md at delfire.net> wrote:
> How choose units names?
>
> I was thinking what are the best names to my units to not to conflict
> with the units of the FPC, Lazarus, and others frameworks or libs.
> e.g. fpc\2.5.1\packages\fcl-web\src\base\webutil.pp
>
> There are a great chance this unit name exists in some libs or
> frameworks, on the web.
> Even I would take this name, isn't?
>
> On the sources of FPC, exists a lot of units with a bit name...
> e.g. fpc\2.5.1\packages\ggi\src\*.pp (ggi.pp | gii.pp | ggi2d.pp)
>
> All these names could be a name of variable...
>
> 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.
Sorry, I think this is a OFF TOPIC... so, I changed the Subject.
MD
More information about the fpc-pascal
mailing list