Logo
The cloud is just someone else's computer.
  • 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

Std Memes

Posts tagged with Std

Using Namespace Std, Then Proceeds To Spell Out Std Anyway

C++ Programming
20 days ago 61.4M views 0 shares
Using Namespace Std, Then Proceeds To Spell Out Std Anyway
You know that friend who says "I'm totally over my ex" and then brings them up in every conversation? That's this code with using namespace std; Line 11 boldly declares using namespace std; which is supposed to let you drop the std:: prefix and just write string instead of std::string . But then lines 14, 15, 21, 28, and 35 are all like "nah, I'm gonna fully qualify everything anyway with std:: ." It's the programming equivalent of installing a dishwasher and then hand-washing all your dishes. The developer either copy-pasted code from different sources without harmonizing the style, or they're having an identity crisis about whether they trust their own namespace declaration. Pick a lane, my friend—either embrace the namespace or don't, but this half-committed relationship status is giving everyone trust issues.

Today's picks

Where's The Love

Where's The Love

Programming
149.4M views 7 days ago
NordVPN

NordVPN

Sponsored
VPN
Logitech Ergo M575S Wireless Trackball Mouse- Off-White Silver Ball

Logitech Ergo M575S Wireless Trackball Mouse- Off-White Silver Ball

Affiliate
$39.99