Logo
sudo make me a sandwich.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • All Categories

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

Sort Memes

Posts tagged with Sort

Mamma Mia

Javascript Algorithms Programming
22 days ago 189.7K 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?

Spotlight

GearScouts.com

Stop scrolling, start exploring! Find the gear that'll get you off the couch and into the wild. Compare power stations for off-grid adventures, flashlights for midnight hikes, and essentials that make the outdoors your playground. Get Outside →

Designfullprint Regex Cheat sheet Desk Mat for ...

Designfullprint Regex Cheat sheet Desk Mat for ...
Ad Each purchase brings us closer to affording that AI that turns client requirements into actual specifications. 🤖