Operator Overload: Rephrased
From: Alexandre Bento Freire (a-bentofreire_at_a-bentofreire.com.nospam)
Date: 10/21/04
- Next message: Paul Dolen: "Re: Delphi 2005 and Framework compatibility"
- Previous message: Paul Dolen: "Re: Delphi 2005 and Framework compatibility"
- Next in thread: Rudy Velthuis [TeamB]: "Re: Operator Overload: Rephrased"
- Reply: Rudy Velthuis [TeamB]: "Re: Operator Overload: Rephrased"
- Reply: Rudy Velthuis [TeamB]: "Re: Operator Overload: Rephrased"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 21 Oct 2004 00:38:00 +0100
Hi, everyone
A few days ago I posted a question about operator overload.
I saw a lot of answers, but....
This is the issue, i have been Delphi for 7 years.
I have project that started initially with Delphi 3, but then i made some
improvements when the Delphi 5 was out there.
This project contains:
many hundreds of units, almost ONE MILION lines of code.
It's SOLID, ROBUST, it has been here for seven years.
Is still easy to read, modify after thousands of changes and improvements.
It was done in Delphi 5, therefore Win32 !
By using Delphi allowed me to make code very readable.
The major problem, it's the kilometric 2D and 3D geometric equations.
Now, where is the point:
- I can't change the language into C#, or whatever.
- I can't change into .Net, because i will not change thousands and
thousands of lines.
I just want to make my equations simpler, using operator overload.
There is no garbage collection, no hasle.
I just what do be able to have: +, - * of homogenous matrix and affine
vectors with doubles type fields.
That is all !!!
Things like:
P1.Sub(P2)^.DotProduct(P3.Sub(P2)^). (where P1, P2, P3, is object X, Y :
double; end)
could be simply replaced by: (P1 - P2) * (P3 - P2)
Like this i have thousands of other equations, and this one is only the most
basic, i have other really BIG ones.
Is there a new version of Win32 Delphi, using Delphi Language (compatible
with Delphi 5), that does this ?
Thanks, in advance
Alexandre
- Next message: Paul Dolen: "Re: Delphi 2005 and Framework compatibility"
- Previous message: Paul Dolen: "Re: Delphi 2005 and Framework compatibility"
- Next in thread: Rudy Velthuis [TeamB]: "Re: Operator Overload: Rephrased"
- Reply: Rudy Velthuis [TeamB]: "Re: Operator Overload: Rephrased"
- Reply: Rudy Velthuis [TeamB]: "Re: Operator Overload: Rephrased"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|