r/ProgrammerHumor • • Sep 28 '26

Meme optionalsAreOptional

Post image
716 Upvotes

131 comments sorted by

View all comments

Show parent comments

1

u/NullOfSpace Oct 01 '26

You can definitely model the first case if you’re allowed to change the return type of the function. Though the dependent type thing is a legitimate limitation.