memesearch
Found This Boolean Logic in Production

Found This Boolean Logic in Production

Download Find similar pictures
Text on the meme
Found this in production today. I need a drink. public static bool CompareBooleans(bool orig, bool val) { return AreBooleansEqual(orig, val); } internal static bool AreBooleansEqual(bool orig, bool val) { if(orig == val) return false; return true; }
What it means

A Twitter post shows absurd C# code that names a function AreBooleansEqual but returns false when two boolean values are equal and true when they differ. The programmer says they need a drink after finding this confusing production code, making it a reaction to bizarre legacy code and software-development mistakes.

Objects
Tags
Source
Template
Twitter screenshot
Type
image
Size
640×726 · 50.4 KiB
Mood
sarcastic, absurd
Language
en
Added

Similar memes