Logo
Ctrl+Alt+Del: The three-finger salute.
  • 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

Nested-callbacks Memes

Posts tagged with Nested-callbacks

My Solution To An Advent Of Code Problem From A While Back

Javascript Programming Debugging Algorithms
20 days ago 10.1M views 0 shares
My Solution To An Advent Of Code Problem From A While Back
You know you've gone too far when your code looks like it's actively trying to escape the screen. That beautiful cascade of nested .map() , .split() , .reduce() , and .filter() calls is what happens when you refuse to use variables because "functional programming is cleaner." The cherry on top? That innocent little { red: 0, green: 0, blue: 0 } buried in there like it's totally normal to be six levels deep in method chaining. And let's not even talk about the triple nested reduce at the end that's doing... something with products and sums? Sure, it probably works. Sure, it's technically one expression. But good luck debugging this when it breaks at 2 AM, or explaining it to your teammate who just wants to understand what "cube[1]" means without a PhD in callback archaeology. Sometimes the real puzzle isn't Advent of Code—it's reading your own code three days later.

Today's picks

SHW 55 x 28 Electric Height Adjustable Standing Desk w/Drawer, Walnut

SHW 55 x 28 Electric Height Adjustable Standing Desk w/Drawer, Walnut

Affiliate
$189.87
Are We There Yet

Are We There Yet

AI
837.7K views 24 days ago
I Really Hope This Works

I Really Hope This Works

Programming
80.7K views 2 years ago