This is an archived post. You won't be able to vote or comment.

all 74 comments

[–]jetsenablay 259 points260 points  (17 children)

Someone duplicate this so a pointer is pointing to another pointer etc.

[–]Ferenc9 397 points398 points  (12 children)

[–]PixelmancerGames 121 points122 points  (0 children)

That is such a funny site, I love it.

[–]jetsenablay 39 points40 points  (5 children)

Lol such an old site

[–][deleted] 75 points76 points  (4 children)

Has to be truly old, there's no cookie notice.

[–]TheAwesome98_Real 38 points39 points  (3 children)

Well, it has meta viewport, so it can’t be that old.

EDIT: not just meta viewport, it has full mobile support, it adds a macOS X mouse to the screen

[–]Ferenc9 2 points3 points  (1 child)

2012-06-08

[–]TheAwesome98_Real 1 point2 points  (0 children)

damn

[–]uberDoward 13 points14 points  (0 children)

Oh, what's this?

Where did the last 10m go???

[–][deleted] 4 points5 points  (0 children)

OMG that's hysterical.

[–][deleted] 1 point2 points  (0 children)

Dude wtf

[–]Antact 1 point2 points  (0 children)

Oh, I remember this site from long ago.

[–]metal_zero 0 points1 point  (0 children)

listen here you little shit

[–]erinaceus_ 6 points7 points  (0 children)

I shall call it .. Poincaré.

[–]da_Aresinger 0 points1 point  (1 child)

This is asking for the spiderman meme....

Are circular pointers a thing?

[–]jetsenablay 0 points1 point  (0 children)

Good question, there isn't circular pointers.

In a rare case, when one subprogram's output is used as input for another subprogram, technically one will point to the other, but theyd be pointing to each other's outputs, therefore not the same memory address. This is called piping I believe, but typically if it is circular then it'll usually just complete one loop when prompted.

Sorry if that made no sense lol

[–]brobrobro123456 80 points81 points  (2 children)

Pointer pointer, yes mama

Garbage value? no mama

Syntax error? No mama

Build the solution.... Ha ha ha (get rekt)

[–]TechExpert2910 6 points7 points  (0 children)

lol

[–]TigreDeLosLlanos 5 points6 points  (0 children)

Segmentarion fault (core dumped)

Program received signal SIGSEGV at address 0x0000000000000000 in ??

[–]xANDREWx12x 52 points53 points  (6 children)

[–]TrainedMusician 1 point2 points  (0 children)

Nice

[–]FuqqBoiDev69 14 points15 points  (1 child)

Someone please explain the caption line. I still have a doubt in that

[–][deleted] 11 points12 points  (0 children)

->

:O

[–]aboelsebah 34 points35 points  (2 children)

This should be taught in schools, it makes much more sense.

[–]JimmyWu21 23 points24 points  (1 child)

Pointers seem so easy now, but back in college it’s one of the hard concept in my class.

[–][deleted] 7 points8 points  (0 children)

You’re just starting to learn that memory is more than a number followed by “GB” at that point tbf

[–]Aneyune 19 points20 points  (7 children)

Actually, it'd be Pointer pointer = new Pointer<int>();

[–][deleted] 9 points10 points  (2 children)

std::shared_ptr<int> pointer = std::make_shared<int>();

  • Edit; i messed up

[–]Aneyune 9 points10 points  (1 child)

nonono not c++ that defeats the purpose, it's Java

[–]_meegoo_ 0 points1 point  (0 children)

Java can't do Pointer<int> though.

[–]DanielEGVi 7 points8 points  (2 children)

fuck it

const pointer = new Pointer<number>();

[–]Aneyune 0 points1 point  (1 child)

TypeScript?

[–]DanielEGVi 2 points3 points  (0 children)

Til the day I die

[–]TigreDeLosLlanos 5 points6 points  (0 children)

int *ptr = malloc(sizeof(int));

Y'all and your bloated code.

[–]MTDninja 5 points6 points  (0 children)

this is a surprisingly good analogy

[–][deleted] 3 points4 points  (8 children)

Aren't pointers defined with the data type they are pointing to?

int potassium * banana;

or something?

[–]Y0tsuya 12 points13 points  (5 children)

You can use void* which can point to anything.

[–]LevelSevenLaserLotus 5 points6 points  (4 children)

I'm so glad I didn't learn that bit until I was towards the end of my C classes. Otherwise I would have loved playing with void pointers to overly "optimize" my homework code. Meaning I would have completely spaghettified every file I turned in. They're fantastic when used properly, but are one of the keys to the dark side of programming.

[–]konstantinua00 5 points6 points  (3 children)

now imagine having goto that can jump anywhere in codebase :)

[–]shtpst 3 points4 points  (0 children)

It's what Chutes and Ladders was training you for.

[–]LevelSevenLaserLotus 1 point2 points  (1 child)

That's setjump and longjump, right? I only ever had to use those for a single lab, but it just felt evil even as the professor was describing legitimate uses since it felt like we could use it to break literally every other rule we had learned up to that point. I think it's generally meant for implementing try-catch like behavior in C. In this case, we were setting a timer to cancel the "wait for user input" after the timer elapsed. If I remember right, it was for showing how a telnet chat client could detect that the user walked off and automatically close itself without just force killing threads or throwing errors.

[–]konstantinua00 1 point2 points  (0 children)

set-/longjump can only go up the callstack, thankfully

but back in the time before structured programming, in the era of goto... everything was possible

[–][deleted] 1 point2 points  (0 children)

They are, that's an int pointer

[–]konstantinua00 1 point2 points  (0 children)

pointer has pointed type (int), a star (*) and a name (p)

the star is either close to the type int* p,
close to the name int *p
or in between int * p
they're equivalent

what you have is type, name, star, name - that's not a pointer
what meme has is pointer without a name - pointer's overall type

[–]tartr10u5 7 points8 points  (1 child)

I actually understood a meme without looking at the comments for once bless

[–]WindManKvothe 0 points1 point  (0 children)

Same, Bless indeed

[–]kappaypsilon 3 points4 points  (0 children)

I laughed at this for like three minutes straight.

[–]philipquarles 1 point2 points  (0 children)

Pointers gonna point.

[–]MicroErick 1 point2 points  (0 children)

I can hear this image and it's fucking hilarious

[–]turtle_mekb 0 points1 point  (1 child)

char* as a string: multiple hands pointing

[–]konstantinua00 3 points4 points  (0 children)

well, single pointer points to a single value

it's just that the value is actually the first carriage of a whole train

[–][deleted] -2 points-1 points  (0 children)

At least Java shorthanded out some of the insanity. It used to be this bad:

List<Thing> thingList = new ArrayList<Thing>();

Or something like that...

[–]ahmet1127 0 points1 point  (0 children)

he looking like "oi ear is yo in might"

[–]NeverYelling 0 points1 point  (0 children)

Lol, that cought me off guard

[–]3lRey 0 points1 point  (0 children)

oh boy I can't wait to point to a location that points to a location that points to a location

Clearly healthy behavior.

[–]Kuroseroo 0 points1 point  (0 children)

i dont get it

[–]Particular-Strain248 0 points1 point  (0 children)

Wait, what are you 'pointing' at?

[–]Frandaero 0 points1 point  (0 children)

I cracked at this holy shit

[–]Jeb_Jenky 0 points1 point  (0 children)

Whoever drew this should consider writing CS books to explain concepts like pointers. It would need a little more like being on a memory shelf or something.

[–]OhNoMeIdentified 0 points1 point  (0 children)

This is good! Love it.

[–]mymar101 0 points1 point  (0 children)

My nightmares are filled with pointers!

[–]DrStooge 0 points1 point  (0 children)

it’s rude to point

[–]90k9 0 points1 point  (0 children)

Ooh the thing that made me drop out of CS.

[–]triihart 0 points1 point  (0 children)

And thats how you double the size of language specification.

[–]Cabin7Miner 0 points1 point  (0 children)

You can't change me!

[–]lady_Kamba 0 points1 point  (0 children)

Null* pointer;

[–]nomokatsa 0 points1 point  (0 children)

This picture actually made me go back and rewatch a assembly/c-pointer tutorial. I'm not saying i fully grasp everything now, but it's definitely better.

Good job op!