programmer_humor·Programmer HumorbyJPDev GTA 5 Java Coffee shopView original on programming.dev212Comments10
iinfinitepcg replylemmy.world3Hide 3 repliesI wonder how often someone walks in and tells them about the mistake. Do the baristas have a standard response?22
KingJalopy replylemm.ee1Hide 1 replyIt's a video game so I'm guessing they do have a standard response21
ggsfraley replylemmy.worldOof, and there's only ten lines of code, too. And they look very purposefully written out.15
SzethFriendOfNimi replylemmy.worldYes, but maybe there’s some magic going on so that the lack of a type assigns some value that results in void?5
rrimjob_rainer discuss.tchncs.deWhy does someone come up with java code for an in-game coffeeshop and then make an obvious mistake? Or is that on purpose and they are trolling?4
The void function seems to return an int
I wonder how often someone walks in and tells them about the mistake. Do the baristas have a standard response?
It's a video game so I'm guessing they do have a standard response
Haha, I completely missed that it's a game.
Oof, and there's only ten lines of code, too. And they look very purposefully written out.
Yes, but maybe there’s some magic going on so that the lack of a type assigns some value that results in void?
Ah yes, the
C O F F F F S H O PWhy does someone come up with java code for an in-game coffeeshop and then make an obvious mistake? Or is that on purpose and they are trolling?
Bancon and bread are both 2?