Logo
Ship my machine, not my code.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Logic operators Memes

Posts tagged with Logic operators

Boolean Humor Is Never False

Programming Javascript Debugging Java Python
11 months ago 317.9K views 0 shares
Boolean Humor Is Never False
The ultimate programmer paradox: !false evaluates to true , but the statement "it's funny because it's true" is itself a boolean expression that's both logically sound and a meta-joke. Seven years into debugging other people's code and I still chuckle at these elementary boolean puns while questioning my life choices. The real joke is that we spend hours hunting down logic errors caused by a single misplaced exclamation mark.

To Bit Or Not To Bit

Programming Algorithms C++
12 months ago 258.5K views 0 shares
To Bit Or Not To Bit
Ah, the classic programmer double entendre. What we're looking at is [2b | !2b] followed by "That is the expression." It's Shakespeare's famous "to be or not to be" dilemma rewritten as a bitwise OR operation. The "2b" is hexadecimal (base 16) for 43 in decimal, and the exclamation mark represents logical NOT. So you're literally performing a bitwise OR between "to be" and "not to be" in code. The punchline is the perfect deadpan delivery: "That is the expression." Because, well, it literally is an expression in programming terms. Whoever came up with this probably felt extremely clever while their coworkers groaned audibly.

Today's picks

Tech Bro Wants To Enter Semiconductor Race

Tech Bro Wants To Enter Semiconductor Race

Cloud
20.0M views 1 day ago
Fixed an old uninformed meme and added a fourth entry.

Fixed an old uninformed meme and added a fourth entry.

Linux
99.5K views 3 years ago
Write Code Without Comments? Right To Jail

Write Code Without Comments? Right To Jail

Programming
311.6K views 1 year ago