DMD 0.148 release
Carlos Santander
csantander619 at gmail.com
Tue Feb 28 07:50:42 PST 2006
Walter Bright escribió:
>
> One should be very careful about stepping away from C's implicit promotion
> rules for a language that aims to be a successor to C. C absolutely *buried*
> Pascal.
>
> Pascal didn't have implicit type conversions. That meant that typical Pascal
> code was littered with casts. It was ugly, and I'd argue that casting
> reduces type safety, rather than enhancing it.
>
> Pascal played catchup ever since, adopting features of C. Then Pascal++
> (i.e. Modula 2) came out, which was promptly buried by C++.
>
>
That depends on how you code and what you code. I recently wrote a 1600+ LOC
Pascal program and I never used a single cast, just because I never needed one.
So, that argument is not very strong because it depends on the nature of each
situation.
--
Carlos Santander Bernal
More information about the Digitalmars-d-announce
mailing list