An interesting observation
Jan Claeys
digitalmars at janc.be
Tue Nov 13 19:09:34 PST 2007
Op Fri, 09 Nov 2007 20:18:28 -0500, schreef Bruce Adams:
> Jan Claeys Wrote:
>
>> Op Fri, 09 Nov 2007 08:53:31 -0500, schreef bearophile:
>>
>> > Pascal used to have lots of advantages over C, and not just to teach
>> > programming (Pascal programs were more reliable.
>
> What was the source of this alleged better reliability? (I'm guessing
> harder to write crap code due to syntactic sugar and salt)
Also run-time buffer overflow checking for strings and stuff like that...
>> Plus the RTTI- & component-based development that made Delphi the first
>> really popular *and* professionally useful RAD IDE...
> I've had a little surf around and I can find nothing which demonstrates
> any especially clever features that object pascal has. So, leaving aside
> reflection for which we already expect improvements what do you miss
> from object pascal that D doesn't (yet) have? Is there anything it could
> never have?
I think D has most of the Delphi Object Pascal features now (and lots of
additional features), but Delphi was innovative almost 20 years ago.
Also, de RTTI/reflection is almost a requirement to build an IDE like
Delphi AFAIK (or it makes it a lot easier at least).
(And IMHO object pascal is still more readable than D's C-style syntax,
but that might be a personal preference.)
--
JanC
More information about the Digitalmars-d
mailing list