??? 01/17/05 21:38 Read: times |
#85133 - Author, not the language Responding to: ???'s previous message |
Jan Waclawek said:
PS. To feed the flames: this is also a very example of the C's weakness compared to Pascal - there is no check for overflow of either of the pointers. That has nothing to do with the language - that's the programmer's fault. The loop could easily have included bounds-checks on the pointers. And if 'C' did bounds-check every single pointer reference, think what that'd do for the code's size! Then we'd really get people saying, justifiably, "'C' generates bloatware - I have to do it in assembler" - but, of course, they'd do it in assembler without the bounds checking! |