Logo
Keyboard not found. Press F1 to continue.
  • 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

Cooking-with-code Memes

Posts tagged with Cooking-with-code

Mamma Mia

Javascript Programming Algorithms
9 months ago 461.8K views 1 shares
Mamma Mia
Someone's building lasagna with the same architectural philosophy they use for their codebase. Got your pasta layer, your meat sauce layer, your cheese layer, and then just... lasagna.sort() slapped right in the middle like it's a perfectly normal thing to do. Because nothing says "Italian cuisine" quite like randomly sorting your ingredients mid-assembly. What's it sorting by? Deliciousness? Molecular weight? The tears of Italian grandmothers? The function doesn't even have parameters, so it's probably just using the default comparison operator on bolognese chunks. Fun fact: JavaScript's Array.sort() converts elements to strings and sorts them lexicographically by default, which means [10, 2, 1] becomes [1, 10, 2]. So your lasagna layers are probably now arranged in alphabetical order. Buon appetito, I guess?

Today's picks

LG 34U650A-B 34-inch UltraWide IPS WQHD 100Hz HDR10 Curved Monitor, Black | (3440 x 1440), 21:9, Built-in Speaker, sRGB 99% (Typ.), HDMI, DisplayPort, USB Type-C PD 96W, Tilt/Height/Swivel Stand

LG 34U650A-B 34-inch UltraWide IPS WQHD 100Hz HDR10 Curved Monitor, Black | (3440 x 1440), 21:9, Built-in Speaker, sRGB 99% (Typ.), HDMI, DisplayPort, USB Type-C PD 96W, Tilt/Height/Swivel Stand

Affiliate
$391.25
Sad story

Sad story

Programming
98.2K views 4 years ago
Midnight Brain Deploys To Production Without Approval🧐

Midnight Brain Deploys To Production Without Approval🧐

Debugging
352.5K views 11 months ago