Re: Highlander2 Beta-blogging: Generics in Delphi for .NET



Hallvard Vassbotn wrote:

My Highlander2 beta summary - with details on Delphi for ..NET 2.0
Generics:

http://hallvards.blogspot.com/2007/08/highlander2-beta-generics-in-del
phi-for.html

Very nice Hallvard,

But i see an issue with the Default function you described.

1). default (note lower case d) is already a reserved word in C#
2). Many ASP.NET developers have a Default page (note the capital D).

Having a Default page, means that there is a Default.pas file.
That will create conflicts.
In fact, it could mean that some projects containing a Default.pas
won't compile at all because Default is now defined more than once...

I see code breaking with this change, and altogether a lot of confusion
coming up with the mixed meanings of the word Default.

From my point of vieuw, this doesn't look like a good naming descision.

--

.



Relevant Pages