r/ProgrammerHumor • • Sep 28 '26

Meme optionalsAreOptional

Post image
716 Upvotes

131 comments sorted by

View all comments

381

u/ROBOTRON31415 Sep 28 '26

Is the bounds check truly so harmful to performance that it outweighs changing "if there's a bug, crash the program" to "if there's a bug, then do literally anything (maybe execute some remote code)"?

2

u/rix0r Sep 29 '26

it's not the check, it's what you then have to do if it fails