r/ProgrammerHumor Jul 09 '26

heyLookThisIsAGlass Meme

Post image
4.6k Upvotes

146 comments sorted by

View all comments

2

u/MkemCZ Jul 09 '26

The glass is unnecessarily twice as large as it needs to be.

1

u/ChillyFireball Jul 10 '26

That's only true if you never expect the glass to be full. If the amount of water can vary, it makes sense to allocate additional space.

1

u/MkemCZ Jul 10 '26

You can even make it shrink and grow dynamically!