Logo
The Space Jam website: Unchanged since 1996.
  • 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

Const pointers Memes

Posts tagged with Const pointers

Really Gotta Make Sure It Doesn't Change

C++ Programming
1 month ago 37.3M views 0 shares
Really Gotta Make Sure It Doesn't Change
When you're so paranoid about immutability that you've basically declared war on any data that dares to think about changing. This is what happens when you read one too many articles about const correctness in C++ and decide to take it as a personal challenge. We've got const pointers to const structs containing const expressions that return const pointers to const constants, all wrapped up with a const_cast for good measure. It's like wearing a belt, suspenders, safety pins, and duct tape all at once—just to keep your pants up. The irony? After all this const ceremony, they're using const_cast to potentially strip it all away anyway. That's the C++ equivalent of installing a bank vault door on your house and then leaving the key under the doormat.

Today's picks

Employee Vs Freelancer Vs Founder Vs Vibe Coder

Employee Vs Freelancer Vs Founder Vs Vibe Coder

Programming
291.2M views 10 days ago
To each their own *sips coffee*

To each their own *sips coffee*

Java
64.7K views 1 year ago
Ai

Ai

Programming
84.8K views 3 years ago