Hacker News new | ask | show | jobs
by j16sdiz 1072 days ago
with bounds checking, out of range index still trigger exception or runtime error. Many of them results in DoS.
1 comments

Much better than silent data corruption.

Then there is the whole issue of making it more interesting to look elsewhere instead.

When a door is locked I can still break in by throwing a rock to the window, yet most people do lock the door nonetheless, while most thieves only bother to break the window if there is anything actually valuable in doing so.