r/badcode • u/[deleted] • Sep 05 '20
java Vodka pattern programming, have you heard of it..?
182
49
Sep 05 '20
Exception up hahahahaha
68
u/HippoEug Sep 05 '20
throw up // LOOOOL
Killed me. Love it you can tell the programmer is having fun through comments
73
21
5
9
2
2
-24
u/spicenozzle Sep 05 '20
This is definitely weird code. Not funny, but really weird. Not sure how this passed a PR with unhelpful comments like that.
10
Sep 05 '20
It was an assignment at university. As long as it compiled, it was good enough to be submitted.
5
u/Terrain2 Sep 06 '20
As long as it compiled, it was good enough to be submitted.
my favorite mindset when coding
38
Sep 05 '20
Not all code is team-based code, or code that is actually going to get used.
You have never in your whole life wrote code for the hell of it? Also it just seems like this person was just fucking around
8
7
1
0
Sep 05 '20
[deleted]
30
u/enderman2104 Sep 05 '20
I don't get it.... What's funny about it can someone tell?
40
u/fulstaph Sep 05 '20
it’s a russian joke (at least i think that’s where it originated). basically when something really stupid but in a way inventive comes up you use that line
4
30
u/Qildain Sep 05 '20
How about that Balmer peak? Amirite?