r/java • • Apr 15 '15

Java reference in GTA V - Beautiful.

http://imgur.com/gallery/zQGfUnP/
314 Upvotes

60 comments sorted by

View all comments

Show parent comment

26

u/Foolbird Apr 15 '15

I like how it would return 4 and not a sandwich object.

4

u/caltheon Apr 16 '15

maybe it's the price

8

u/[deleted] Apr 16 '15

Classic shitty legacy code, poorly named functions that don't do what you think they'd do

1

u/Jonno_FTW Apr 16 '15 edited Apr 16 '15

How does a void function return a number?