r/badcode • • Aug 10 '19

c# absolute genius!

Post image
931 Upvotes

59 comments sorted by

View all comments

0

u/[deleted] Aug 10 '19

[deleted]

10

u/wind-raven Aug 10 '19

Nope, after seeing some of the code in the legacy app I'm working on I would love to come across code like this. It may make you go wtf but at least you can follow it.

18

u/[deleted] Aug 10 '19

no this is fake. This guy multiplied a number by itself so I'm sure that he knows how to return a square (return x**2)