Logo
HAI WORLD! (That's LOLCODE for Hello)
  • 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
1 year ago 393.8K 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++
1 year ago 326.2K 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

Uineer Ergonomic Wireless Vertical Mouse, 3-Mode Bluetooth 5.0/4.0 & 2.4GHz

Uineer Ergonomic Wireless Vertical Mouse, 3-Mode Bluetooth 5.0/4.0 & 2.4GHz

Affiliate
$22.99
They Both Let You Execute Arbitrary Code

They Both Let You Execute Arbitrary Code

Security
361.3K views 1 year ago
I saw this on my professors bulletin board

I saw this on my professors bulletin board

Programming
87.7K views 5 years ago