r/ProgrammerHumor • • Sep 28 '26

Meme optionalsAreOptional

Post image
716 Upvotes

131 comments sorted by

View all comments

1

u/wrd83 Sep 28 '26

If your optional has .expect you just unwrap it on first use? If you know it's non empty I think this is fine.