Logo
Whitespace: Programming with just spaces and tabs.
  • 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

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
4 hours ago 56.4K 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.

Spotlight

GearScouts.com

Stop scrolling, start exploring! Find the gear that'll get you off the couch and into the wild. Compare power stations for off-grid adventures, flashlights for midnight hikes, and essentials that make the outdoors your playground. Get Outside →

Anker 2.4G Wireless Vertical Ergonomic Optical ...

Anker 2.4G Wireless Vertical Ergonomic Optical ...
Ad Each purchase brings us closer to affording that AI that turns client requirements into actual specifications. 🤖