Logo
Never let a hardware engineer near your 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

Segfault-waiting-to-happen Memes

Posts tagged with Segfault-waiting-to-happen

Pointers Explained

C++ Programming Debugging
3 months ago 19.1M views 1 shares
Pointers Explained
So you've got an int, which is just a regular integer minding its own business. Then you've got int*, a pointer that points to that integer's address. Then int** is a pointer to a pointer—basically pointing at the thing that's pointing at the thing. And then there's int***, which is a pointer to a pointer to a pointer, and at that point you're just showing off or you've made some deeply questionable life choices. Each level of indirection adds another layer of "wait, what am I even looking at?" The person in the foreground holding int*** has that exact facial expression—equal parts pride and existential dread. You know you've gone too far when you need a flowchart to dereference a variable. Most codebases don't need triple pointers. If yours does, either you're doing something incredibly clever or incredibly cursed. There is no in-between.

Today's picks

Panvola I R Programmer Engineer Gift Ceramic Mug 11oz White

Panvola I R Programmer Engineer Gift Ceramic Mug 11oz White

Affiliate
$13.97
Yesn't

Yesn't

Programming
90.5K views 5 years ago
NordVPN

NordVPN

Sponsored
VPN