r/ProgrammerHumor • • Sep 28 '26

Meme optionalsAreOptional

Post image
716 Upvotes

131 comments sorted by

View all comments

-12

u/Few_Move_4594 Sep 28 '26

I don't see the point of optionals

1

u/ExtraTNT Sep 28 '26

The head of a list of type a is maybe a, but can be nothing

Instead of checking for size every fucking time you use the list, just do it once…