Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on programming.dev

10 replies

lemy.lol

The void function seems to return an int

64
lemmy.world

I wonder how often someone walks in and tells them about the mistake. Do the baristas have a standard response?

22
KingJalopyreply
lemm.ee

It's a video game so I'm guessing they do have a standard response

21

Oof, and there's only ten lines of code, too. And they look very purposefully written out.

15

Yes, but maybe there’s some magic going on so that the lack of a type assigns some value that results in void?

5

Why 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

You reached the end

GTA 5 Java Coffee shop | Spyke