Logo
The first computer password was 'password'.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • Csharp Csharp
  • 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
3 months ago 481.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

OffiGo 63 Inch L Shaped Electric Standing Desk with Drawers, Height Adjustable Large Desk with Power Outlets, Sit Stand Table, Writing Computer Desk for Home, Office, Workstation, Rustic Brown

OffiGo 63 Inch L Shaped Electric Standing Desk with Drawers, Height Adjustable Large Desk with Power Outlets, Sit Stand Table, Writing Computer Desk for Home, Office, Workstation, Rustic Brown

Affiliate
$199.97
Balancing productivity and performance is hard

Balancing productivity and performance is hard

Python
62.1K views 3 years ago
I mean, it’s true…

I mean, it’s true…

Testing
31.0K views 2 years ago