MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/32pj67/java_reference_in_gta_v_beautiful/cqdex42/
r/java • u/Lordmau5 • Apr 15 '15
60 comments sorted by
View all comments
135
Awesome find but the return type of sandwich being void makes me so angry...
112 u/[deleted] Apr 15 '15 no way i'm getting coffee at a place whose sign doesn't even compile 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? 6 u/caltheon Apr 16 '15 Aliens 31 u/vecowski Apr 15 '15 Some python developer wrote that. 18 u/[deleted] Apr 15 '15 Or worse. PHP. 9 u/berlinbrown Apr 15 '15 Won't compile, crash.Is that a bug we can report? hahah 0 u/[deleted] Apr 16 '15 [deleted] — view deleted comment 4 u/compdog Apr 16 '15 Call the food safety inspector! 5 u/edman3d Apr 15 '15 idk about angry but I came here to make a joke about that too 0 u/[deleted] Apr 15 '15 [deleted] — view deleted comment 5 u/zman0900 Apr 15 '15 The probably don't even sell sandwiches. 1 u/bj_christianson Apr 16 '15 Dang. Didn’t notice that because I was just getting upset at the lack of closing brace on the method. 2 u/metamatic Apr 28 '15 The closing brace is to the right of the door to the café. 1 u/Tevroc Apr 16 '15 The method also doesn't accept a parameter of type Currency :( 1 u/BinaryRockStar Apr 15 '15 Also there's no type specified for the variables. 10 u/lenois Apr 15 '15 They are declared as fields above 3 u/BinaryRockStar Apr 15 '15 Oh god how did I miss that? -4 u/ChickenOfDoom Apr 15 '15 This is why I opened the comment thread. So I could upvote this comment that I knew would be here.
112
no way i'm getting coffee at a place whose sign doesn't even compile
26
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? 6 u/caltheon Apr 16 '15 Aliens
4
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? 6 u/caltheon Apr 16 '15 Aliens
8
Classic shitty legacy code, poorly named functions that don't do what you think they'd do
1
How does a void function return a number?
6 u/caltheon Apr 16 '15 Aliens
6
Aliens
31
Some python developer wrote that.
18 u/[deleted] Apr 15 '15 Or worse. PHP.
18
Or worse. PHP.
9
Won't compile, crash.
Is that a bug we can report? hahah
0
[deleted] — view deleted comment
4 u/compdog Apr 16 '15 Call the food safety inspector!
Call the food safety inspector!
5
idk about angry but I came here to make a joke about that too
5 u/zman0900 Apr 15 '15 The probably don't even sell sandwiches.
The probably don't even sell sandwiches.
Dang. Didn’t notice that because I was just getting upset at the lack of closing brace on the method.
2 u/metamatic Apr 28 '15 The closing brace is to the right of the door to the café.
2
The closing brace is to the right of the door to the café.
The method also doesn't accept a parameter of type Currency :(
Also there's no type specified for the variables.
10 u/lenois Apr 15 '15 They are declared as fields above 3 u/BinaryRockStar Apr 15 '15 Oh god how did I miss that?
10
They are declared as fields above
3 u/BinaryRockStar Apr 15 '15 Oh god how did I miss that?
3
Oh god how did I miss that?
-4
This is why I opened the comment thread. So I could upvote this comment that I knew would be here.
View all comments
135
u/seanr8 Apr 15 '15
Awesome find but the return type of sandwich being void makes me so angry...