Hacker News post about this: https://news.ycombinator.com/item?id=39309783 (source available)

5 points
*

Show that to your niece and nephew and you’ll be a certified Haxxor™

permalink
report
reply
3 points

Can confirm.

permalink
report
parent
reply
-12 points

But C is worse than C++, because what if you have a pointer to a pointer?

permalink
report
reply
16 points

You can have a pointer to a pointer in c++ too tho?

permalink
report
parent
reply
-1 points

You don’t say.

permalink
report
parent
reply
3 points

Can you have two pointers pointing at each other?

permalink
report
parent
reply
4 points
void* ptr2 = &ptr1;
ptr1 = &ptr2;```

permalink
report
parent
reply
2 points

Eh?

permalink
report
parent
reply
2 points

Also it is colder at night than it is outside.

permalink
report
parent
reply
59 points

I’ve written some magic templates that I assume are not easy to read by those who don’t know.

But this is seemingly unmaintainable… terrifying… and kind of neat.

permalink
report
reply
24 points

Why tf

permalink
report
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 6.4K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments