[fpc-pascal] How choose units names?

Marco van de Voort marcov at stack.nl
Wed Jul 21 21:58:53 CEST 2010


In our previous episode, Marcos Douglas said:
> 
> 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.

Just take unique ones. There are 30000 words in avg use in the avg language,
so if you just take the two letter words, you are already in the 30000^2
magnitude.

The few units in the FPC and Lazarus project pale in comparison to that
number.

In the rare case that they conflict, I just pick a different one.



More information about the fpc-pascal mailing list