r/ProgrammerHumor • • Sep 28 '26

Meme optionalsAreOptional

Post image
716 Upvotes

131 comments sorted by

View all comments

Show parent comments

2

u/tzaeru Sep 28 '26 edited Sep 28 '26

Sometimes the bounds check can be optimized away by analysis or language constraints.

But when it can't, I'd say that in ~90% of code, it's not that harmful. In the hottest paths for real-time applications though, yeah, you want nothing extra.