Logo
Code for the psychopath who'll maintain it.
  • 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

Lazy evaluation Memes

Posts tagged with Lazy evaluation

Short Circuit Evaluation

Programming Javascript Java Python Algorithms
12 days ago 2.0M 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.

Haskell Programmers Explaining The Unexplainable

Programming Math
1 year ago 379.5K views 0 shares
Haskell Programmers Explaining The Unexplainable
HONEY, PLEASE! Haskell programmers standing in front of their conspiracy theory walls trying to convince you that monads are "just like burritos" and pure functions are "totally intuitive." Meanwhile, the rest of us are over here writing loops that actually DO something instead of contemplating the philosophical implications of lazy evaluation for eight hours. The mathematical purity is KILLING me! 💀

Today's picks

KAIWEETS Soft Silicone Electrician Test Leads Kit CAT III 1000V & CAT IV 600V with Alligator Clips and Needle Probe for Fluke/AstroAI/INNOVA Multimeter Electronic Clamp Meter 9PCS

KAIWEETS Soft Silicone Electrician Test Leads Kit CAT III 1000V & CAT IV 600V with Alligator Clips and Needle Probe for Fluke/AstroAI/INNOVA Multimeter Electronic Clamp Meter 9PCS

Affiliate
$15.99
NordVPN

NordVPN

Sponsored
VPN
Upgrading Project From Stone Age To Vibe Era

Upgrading Project From Stone Age To Vibe Era

Javascript
397.4K views 1 year ago