Logo
Talk is cheap. Show me the code.
  • 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

Header guards Memes

Posts tagged with Header guards

The Preprocessor Directive Dilemma

C++ Programming Debugging Backend
1 year ago 390.3K views 0 shares
The Preprocessor Directive Dilemma
The classic tale of preprocessor pain! Our poor green frog friend discovers the horrors of working with a client who doesn't understand the critical difference between #pragma once and #ifndef header guards. The dev goes through the proper steps: asking about header guard preferences, explaining duplication errors with a detailed diagram (like the absolute C++ nerd they are), only to discover the client was clueless the whole time. The punchline? "It's pragma once" - meaning the client picked a solution without understanding the problem. This is the programming equivalent of explaining quantum physics to someone who then says "atoms are small, got it!"

Today's picks

Donner 61 Key Keyboard Piano, Electric Piano Keyboard Kit with 249 Voices, 249 Rhythms - Includes Piano Stand, Stool, Microphone, Gift for Beginners, Black (DEK-610S)

Donner 61 Key Keyboard Piano, Electric Piano Keyboard Kit with 249 Voices, 249 Rhythms - Includes Piano Stand, Stool, Microphone, Gift for Beginners, Black (DEK-610S)

Affiliate
$119.98
I’m sorry what? No hate towards python but it is not hard to learn,

I’m sorry what? No hate towards python but it is not hard to learn,

Programming
211.0K views 3 years ago
Yes! Make everyone feel the pain since day 1

Yes! Make everyone feel the pain since day 1

Programming
96.9K views 4 years ago