Re: Cool! A Variant in Delphi.NET is just a TObject!



Microsoft's C# extension methods serve a purpose similar to Delphi
class helpers, but C# extension methods don't venture into virtual
methods.

Nor do they have virtual class methods. +1 Delphi (I think).

As for using class helpers to implement Variants, I think that one was
my fault. I definitely remember the giddy headrush when the idea hit,
and didn't fall apart. Chuck just laughed when I pitched it to him.

I can see why. It's elegant! I've had a few of those moments in my career,
but I wish I had more!

I'm sure Seppy was convinced he finally had proof of my insanity.

Hmmm... Genius crazy on the order of "A Beautiful Mind"? :^)

--Troy


.



Relevant Pages

  • Re: After a few days with VS.NET 2005
    ... IMO typically business web sites or other business style code. ... Or because I like Delphi, then using the Delphi's virtual class methods allow me the level of detachment from the .Net world I need. ... And it can be used, not only for explanatory metadata, but also for RTTI type stuff which is of importance in kbmMW. ...
    (borland.public.delphi.non-technical)
  • Re: Virtual static methods?
    ... > those discusion. ... .NET Type objects are not the ... Delphi for .NET supports virtual class methods and metaclasses, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: VCL.NET revisited...
    ... Under Delphi this is no problem because the compiler resolves the issue ... Do you anticipate finding other things that don't fit right? ... Anything with sets or virtual class methods or named constructors? ... generates C# code instead of Delphi code :-) ...
    (borland.public.delphi.non-technical)
  • Re: Is it time for a real 64-bit Delphi Survey?
    ... Rudy Velthuis (TeamB) wrote: ... >> Another issue is the lack of virtual class methods ... > methods, like Delphi 7. ... yes you are right (confusing my issues here). ...
    (borland.public.delphi.non-technical)