There was a research where people would run random images through OCR (which results in pretty random characters) and then run it through perl. A surprising amount of them were valid perl.
Such staunch hatred of a once beloved language... [insert gruff cigar chomping J Jonah Jameson voice here] you’ll make it far in this biz kid, your hired. now I want a cover of photo of Spider-Man for tomorrow’s paper and you’ll take minimum wage for it. Understood, now get out’ta my office ヽ(愛´∀`愛)ノ
373
u/silentclowd Jun 01 '19
Wait am I going crazy or does that function actually do the opposite of what you'd expect?
66
u/class_cast_exception Jun 01 '19
Seriously, why?
51
u/protoncious Jun 02 '19
89
u/[deleted] Jun 01 '19
There’s a special place in the programmer hall of shame for whoever wrote this ψ(*`ー´)ψ
17
u/Anatolios Jun 02 '19
I wonder what the unit tests look like.
13
u/bananamadafaka Jun 01 '19
Why would you hide the user?
4
u/TheMightyTywin Jun 02 '19
CompareBooleans is such a terrible name for a function
3
u/jtepe Jun 02 '19 edited Jun 02 '19
Aside from being wrong, is this an example of the Clean Code propagated by that Uncle type?
1
u/[deleted] Jun 02 '19
Oh my God...
1
u/Shadow_Being Jun 06 '19
Layered architecture.
1
u/2_sinner_4_S10 Jun 09 '19
I don't believe.
1
u/MyMessageIsNull Jun 02 '19 edited Jun 02 '19
That gave me cancer.
0
u/SmarterThanAllOfYou Jun 02 '19
Needs {} around the if
-8
u/ibiBgOR Jun 02 '19
Oh I finally understand a joke. It's funny because it's C hashtag, right!?