Logo
It's not a bug, it's an undocumented feature.
  • 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

Boolean-operators Memes

Posts tagged with Boolean-operators

Short Circuit Evaluation

Programming Java Javascript Python Algorithms
23 days ago 2.1M views 0 shares
Short Circuit Evaluation
When you upgrade from basic Halloween logic to enterprise-level conditional execution. The top panel shows the casual "treat or trick" approach—simple, readable, something your product manager might understand. But then we suit up with treat||trick() , where the compiler's like "already got the treat? Cool, not even gonna bother calling that trick() function." Short-circuit evaluation means the second operand only gets evaluated if the first one doesn't seal the deal. It's lazy evaluation at its finest—why do more work when you can do less? Your CPU thanks you, your function calls thank you, and that potentially expensive trick() function that might've queried a database or summoned a demon? Yeah, it's just chilling, never executed. Efficiency dressed in a tuxedo.

Today's picks

Cherry KC 200 MX Wired Mechanical Office Keyboard MX2A Silent RED Switches | Modern Design, Aluminum Surface, USB-A Connection, Black/Bronze, Quiet Keys

Cherry KC 200 MX Wired Mechanical Office Keyboard MX2A Silent RED Switches | Modern Design, Aluminum Surface, USB-A Connection, Black/Bronze, Quiet Keys

Affiliate
$79.99
World Best Css Developer

World Best Css Developer

Frontend
39.6K views 1 year ago
Definitely Feels Like This

Definitely Feels Like This

Programming
1.0M views 5 months ago