Re: Writing Scalable Code in Delphi 2007, An idea !

Well,

I just quickly tested this idea, records can't be inherited in Delphi 2007 for Win32.

And I already know classes don't support operator overloading in Delphi 2007 for Win32.

Is my idea ahead of it's time ?

I don't think so... C++ has had operator overloading for years, at least 7 years !

Delphi is just lagging, lagging, lagging behind on this.

I am not giving up yet, I shall try and see if I can find another way to implement it in Delphi 2007 for Win32.

But I am not counting on it.

Oh well.

Bye, Skybuck.

Reply to
Skybuck Flying
Loading thread data ...

No, 1+1=2 :)

- Scott

Reply to
CodeMonk

A quick google on writing scalable software or code in c++ returned zero hits.

Apperently C++ programmers have generics so far up their ass they are unable to write any form of scalable code that scales at runtime.

Apperently this idea is even way ahead of C++ programmers as well.

This idea is just too good I just can't leave it alone.

I shall have to do the unthinkable and write C++ code to test and see this idea in action THE HORROR !

Bye, Skybuck.

Reply to
Skybuck Flying

No, it isn't. Delphi for .NET has operator overloading already. and Delphi also had operator overloading for a long time already, but only for Variants.

You don't seem to be aware of the requirements for operator overloading. It is impossible to do for reference types (like Delphi classes) if you don't have garbage collection. Note that in C++, it is only possible for classes and structs that are used AS VALUE TYPES, like records in Delphi, and NOT AS REFERENCE TYPES.

If you don't get this, you are the idiot I already thought you were.

--
Rudy Velthuis        http://rvelthuis.de

"The difference between fiction and reality? Fiction has to make 
 sense." -- Tom Clancy
Reply to
Rudy Velthuis

OH JEZUS CHRIST.

THE HORROR HAS ALREADY STARTED.

I can't even create the full project name:

TestWritingScalableSoftwareGenericMath

^^^ Visual Studio .NET 2005 complains, project name length to long ?! OH MY GOD !!!! ^^^

Me shudders at what is to come !

Bye, Skybuck.

Reply to
Skybuck Flying

It already exists since ages, it just has a different name. It is called generics, and it is much more than just "scalable".

Look for C++ templates, Eiffel generics, Ada generics, Smalltalk generics, .NET generics, Java generics, etc.

The coming Delphi for .NET will have generics.

--
Rudy Velthuis        http://rvelthuis.de

"We totally deny the allegations, and we are trying to identify
 the allegators."
Reply to
Rudy Velthuis

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.