I'm translating the book "Physically Based Rendering: From Theory to Implementation" to Delphi.

They use classes and operator overloading to do operations. I tried using classes of Delphi, but soon found that instances are not disposed after operations, instead records do. So I have to transform everything to records, and use overloaded functions instead... and hoping I'll be able to fake inheritance when I need it later on.

If the new Delphi (is Delphi 2007 out?) allows that functionality then I'll finally move from Delphi 7.