Logo
Code never lies, comments sometimes do.
  • 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-cast Memes

Posts tagged with Const-cast

I'm Sorry Wilson

C++ Programming
22 days ago 107.3M views 0 shares
I'm Sorry Wilson
You know that soul-crushing moment when you need to modify a pointer but it's declared as const ? Yeah, you're about to cast that thing away like Tom Hanks abandoning Wilson into the ocean. Sure, you feel guilty about it. Sure, you know it's technically undefined behavior and violates const-correctness. But deadlines don't care about your moral compass, and sometimes you just gotta const_cast your way out of a problem and pretend the compiler warnings don't exist. The pain in those eyes? That's the pain of every C++ developer who's had to choose between elegant code and shipping on time.

Today's picks

Dell U4021QW UltraSharp 40-inch Curved WUHD Monitor

Dell U4021QW UltraSharp 40-inch Curved WUHD Monitor

Affiliate
$1569.00
//a comments meme

//a comments meme

Programming
93.4K views 4 years ago
Serverless And Homeless

Serverless And Homeless

Programming
108.5K views 1 year ago