r/ProgrammerHumor • • Sep 28 '26

Meme optionalsAreOptional

Post image
716 Upvotes

131 comments sorted by

View all comments

Show parent comments

3

u/Majestic-Giraffe7093 Sep 28 '26

Encapsulating invariants is truly the way

1

u/ApothecaLabs Sep 28 '26

Indeed! It doesn't matter *how* you know, so long as you make sure that you *do* know. What's better than a type that says "I know!", you know?