Prof A Olowofoyeku (The African Chief) wrote:
On 9 Jun 2005 at 14:39, Frank Heckenbach wrote:
Prof A Olowofoyeku (The African Chief) wrote:
Most of these changes are implicit in Delphi-style "Classes", which I believe, are on the GPC "to do" list. Once GPC gets the "Class" type, there will be no need to do any of these. So I guess what you are pushing for is a quick implementation of Classes. I am not sure myself that this would be a trivial undertaking. However, I'll leave Frank and Waldek to speak to that point.
Certainly not trivial, and in addition, all of Mac, Delphi and OOE objects/classes are slightly different.
Well, my next bigger changes in GPC according to my plans were going to be the preprocessor and then short strings, but perhaps I should change my priorities now. I suppose the preprocessor is still urgent, as it makes GPC more or less difficult to use (depending on the platform) with gcc-3.3.x and higher. But as I understand it, you have work-arounds for short strings, so perhaps classes are more urgent then.
I would think that Classes are more urgent. This is the last major hurdle to full Delphi compatibility.
So are short strings to BP compatiblity.
The absence of short strings can be worked around - but the absence of Classes cannot.
I suppose they can -- by turning `class' into `object' and using explicit pointers. Not particularly nice, but neither are the short string work-arounds AFAICS.
Seems to be a matter of personal preference (or need). I'll keep thinking about it ...
Frank