[Lazarus] Namespace
Marcos Douglas
md at delfire.net
Mon Jan 10 19:51:16 CET 2011
On Mon, Jan 10, 2011 at 9:43 AM, Hans-Peter Diettrich
<DrDiettrich1 at aol.com> wrote:
> Marcos Douglas schrieb:
>
>> I'm not talk about RTTI but style, make code more readable and less
>> duplication of names.
>
> Working with items of the same name, from different locations (units,
> namespaces), requires qualifications all over. That waste of characters in
> source code makes code less readable to me.
Waste of characters? Not really. Write xyz.TFoo is not so different of
TxyzFoo. There is one char more.
How I will know all prefixes of all libs in the internet? If I choose
the prefix "rx", I will have conflicts with RXlib, for example.
Graeme chose the same prefix the Lazarus did in some classes:
TfpgXXXX ("fpg")
Marcos Douglas
More information about the Lazarus
mailing list