[Lazarus] Namespace

Alexander Klenin klenin at gmail.com
Wed Jan 12 17:18:45 CET 2011


On Wed, Jan 12, 2011 at 21:09, Marcos Douglas <md at delfire.net> wrote:
> On Tue, Jan 11, 2011 at 6:03 PM, Hans-Peter Diettrich
> <DrDiettrich1 at aol.com> wrote:
>> Duplicate identifiers are used in the same unit in very rare cases only, so
>> that normally a qualification is not necessary at all.
>
> Rare cases because I can't use the identifiers TEdit, TButton, etc.
> Then we always will have to invent prefixes for new widgets?

If you invent a new button, then I guess naming it TButton
will be confusing regardless of chosen namespace, since
TButton is a well-known name for any Delphi/Lazarus developer.

-- 
Alexander S. Klenin




More information about the Lazarus mailing list