r/ProgrammerHumor • • Apr 10 '19

Stackoverflow <3

Post image
1.7k Upvotes

27 comments sorted by

View all comments

39

u/GDavid04 Apr 10 '19 edited Apr 11 '19

Is the glass half full or half empty? [solved][duplicate]

-5 points 2 *

Glass g = new Glass()
Water w = Water.getSources().getDefaultSource().getWater(g.capacity / 2)
if (/* TODO */)

asked 3 seconds ago by ImNewHere (1 rep) * 1

comments:

5 if (g.water.level <= g.capacity) // TODO

2 Please provide all code relevant to the question.

??

show more comments

Closed as off topic

Closed as duplicate (How to use pourwaterintoglass.js [duplicate])

Protected by <> Community

-3 points accepted answer

Nvm, figured it out.

-1 seconds ago by ImNewHere (1 rep) * 1

10 points

It's implementation specific

100 years ago by AccountOlderThanStackOverflow (2 000 000 ... 000 rep) 100 * 46 * 25 *

comments:

But it's a compiler error on my machine!