Re: Delphi 2008 (Tiburon) discussion



"Marc Rohloff [TeamB]" wrote

Hopefully they'll make more use of interfaces.

I don't know--the whole reference-counting, different life-cycle problem
with interfaces has always made 'mixed mode' programming in Delphi a pain.
Danny Thorpe talked about transitioning the VCL to interfaces four or five
years ago--at the Long Beach BorCon IIRC, but it never happened. ANd one
can't help noticing that most of the current VCL usage of interfaces has to
do a lot of mucking about with reference counting because the VCL already
has an ownership/lifetime management system in place. It's just very messy.

I was thinking of capitalizing on generics more. Certainly we could do
better than TCollection/TCollectionItem

bobD


.



Relevant Pages