Logo
HTML is not a programming language. Change my mind.
  • 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

Algorithmic-complexity Memes

Posts tagged with Algorithmic-complexity

New Big O Definition Just Dropped

Python Programming Debugging Algorithms
2 months ago 1.7M views 0 shares
New Big O Definition Just Dropped
So someone built an "algorithmic complexity tracker" that measures Big O notation by... counting indentation levels in your code. Because apparently, deeply nested code equals slow code, right? The comment on line 1659 is pure gold: "Clamp between O(1) and O(N^6) to prevent runaway formatting bugs from declaring infinite mass." Translation: if your code is nested too deep, it might create a black hole and collapse the universe. The developer is literally capping algorithmic complexity at O(N^6) not because of performance concerns, but because their formatting tool might go haywire. That's like installing a speed limiter on your car because the speedometer needle might spin too fast and break. The best part? They're using indentation depth as a "universal proxy for AST nesting depth" which is basically saying "I'm too lazy to parse the actual syntax tree, so I'll just count spaces." Nothing says rigorous computer science like depth = (indent - base_indent) // 4 .

Today's picks

Livotica Single Monitor Desk Mount, Heavy Duty Adjustable Monitor Stand for 13"-32" Screen, Monitor Arm Desk Mount Holds Up to 22lbs with C Clamp/Grommet Base

Livotica Single Monitor Desk Mount, Heavy Duty Adjustable Monitor Stand for 13"-32" Screen, Monitor Arm Desk Mount Holds Up to 22lbs with C Clamp/Grommet Base

Affiliate
$36.99
NordVPN

NordVPN

Sponsored
VPN
Let Them Have It

Let Them Have It

Programming
90.4K views 1 year ago