[fpc-devel] Generics.Collections as package for Lazarus or package for FPC RTL

Michael Van Canneyt michael at freepascal.org
Wed Jan 27 09:31:38 CET 2016



On Wed, 27 Jan 2016, Anthony Walter wrote:

> Michael,
>
> I see the many benefits of dotted namespace units.

Yes, they are the same ones everyone cites.

None are very convincing. The only one - and minor at that - is the discovery.

Take for example your "TEdit" versus "TWebedit" argument:

I WANT to see TWebEdit, so I am reminded that I am programming in web, not in LCL.
I use prefixes in my class names exactly to KNOW which class I am using,
without having to look at the uses clause and possibly figure out the order
in which units appear.

As I said, I am not opposing this, but I do not think that dotted names are
the fetish that most programmers seem to take it for. It's a matter of
preference.

Michael.



More information about the fpc-devel mailing list