r/badcode • • Nov 26 '19

c# String Strang String Strang

Post image
776 Upvotes

54 comments sorted by

View all comments

10

u/Sarenord Nov 26 '19

this is the solution to when you write hundreds of lines of code without testing any of it on a stimmed out bender, then wake up the next morning to discover that you, in your mania, thought it would be funny to name all of your types like this. Since we're still at least a decade away from having computers that are advanced enough to do search and replace, this seems like the best way to do it to me.

38

u/null_reference_user Nov 26 '19

#define baalean bool

#define Strang string

#define yeet return