[Lazarus] Namespace
Marcos Douglas
md at delfire.net
Sun Jan 9 16:11:48 CET 2011
If units are namespaces, why not use them in widgets declarations,
automatic, in Lazarus?
When we droped a widget in a Form, ie a TEdit, the declarion would be like this:
TForm1 = class(Form)
Edit1: StdCtrls.TEdit;
end;
Why this? Well, we would not need to use prefixes in the names of our
widgets. I could develop a widget called TEdit too, but using my own
unit.
All most developers use prefixes in yours classes and functions.
Pascal not is C and don't need this. So, why do that?
Marcos Douglas
More information about the Lazarus
mailing list