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

Ast Memes

Posts tagged with Ast

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

Windows User And Linux User

Windows User And Linux User

Linux
121.2M views 20 days ago
NordVPN

NordVPN

Sponsored
VPN
Yqskt 200PCS Programming Stickers, Coding Vinyl Decals

Yqskt 200PCS Programming Stickers, Coding Vinyl Decals

Affiliate
$7.99