Logo
99 bugs in the code, fix one, 127 bugs in the code.
  • 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

Cursed-knowledge Memes

Posts tagged with Cursed-knowledge

Array Is Syntax Sugar

C++ Programming
7 months ago 584.7K views 0 shares
Array Is Syntax Sugar
C enthusiasts will tell you their language is "close to the metal" and "elegant in its simplicity," then casually drop the fact that a[10] is literally just *(a + 10) in disguise. Array indexing? That's just pointer arithmetic with training wheels. The blue character is so proud of this "feature" that they're explaining it like it's a flex. Meanwhile, everyone else is slowly backing away because once you realize arrays don't actually exist and you've been doing pointer math this whole time, you can never unsee it. It's like finding out Santa isn't real, except Santa is memory safety and he was never real to begin with. Fun fact: This is why 10[a] also works in C. Because *(10 + a) is the same as *(a + 10) . Addition is commutative. Your compiler doesn't care about your feelings.

Today's picks

Coding Debugging Shirts Debugging Shirt Coding T-Shirt Black Unisex Adults Classic Fit Crew Neck T-Shirt

Coding Debugging Shirts Debugging Shirt Coding T-Shirt Black Unisex Adults Classic Fit Crew Neck T-Shirt

Affiliate
$19.99
Down the algorithm rabbit hole...

Down the algorithm rabbit hole...

Programming
172.2K views 5 years ago
Tech Support's Final Diagnosis

Tech Support's Final Diagnosis

Testing
456.6K views 12 months ago