Logo
The best code is no code at all.
  • 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 Algorithms Programming Debugging
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

Employee Vs Freelancer Vs Founder Vs Vibe Coder

Employee Vs Freelancer Vs Founder Vs Vibe Coder

Programming
206.9M views 2 days ago
Software license clauses be like

Software license clauses be like

Programming
99.4K views 3 years ago
That Feeling After A Perfect Git Commit

That Feeling After A Perfect Git Commit

Git
388.2K views 11 months ago