Logo
All of Shakespeare fits in 5MB. Windows needs 20GB.
  • 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
1 month ago 346.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 →

LG 32U990A-S 32-Inch Ultrafine 6K (6144 x 3456)...

LG 32U990A-S 32-Inch Ultrafine 6K (6144 x 3456)...
Ad Your purchase contributes to our 'Why Does It Work When I Restart The Server' investigation. 🔄