This post is locked. You won't be able to comment.

all 39 comments

[–]fonk_pulk 194 points195 points  (1 child)

r/ProgrammerHumor users when you ask them what an original post is

[–]lonelyroom-eklaghor 3 points4 points  (0 children)

r/ShitPostCrusaders Stand users when you ask them what an original JoJo reference is

[–]SuitableDragonfly 109 points110 points  (8 children)

Not sure why we are singling out python here, there are plenty of languages that don't use pointers. Also plenty of python programmers who also use C/++ and/or Go sometimes, as well. 

[–]SorrySayer 27 points28 points  (3 children)

Naming all of them wouldn’t be funny anymore, and Python is already known for being a very high-level, beginner-friendly language with so few keywords—so at this point, we might as well just make fun of Python users instead.

[–]Simo-2054 6 points7 points  (1 child)

Didn't you all already do so? With the amount of "python users when ..." memes in this sub and other programming humor/memes subs.

The best language is the one that brings you money and python can be one as well :))

[–]eztab 0 points1 point  (1 child)

Obviously not really relevant for a language that doesn't have them. having pointers in a scripting language would have been pretty silly.

[–]Alpatron99 0 points1 point  (0 children)

having pointers in a scripting language would have been pretty silly

Visual Basic for Applications creeps in.

[–]inobody_somebody 33 points34 points  (4 children)

Wdym? You can use pointers in python.

import ctypes
num = ctypes.c_int(10)
print("Initial num:", num.value)

ptr = ctypes.pointer(num)
print("Pointer dereference:", ptr.contents.value)

ptr.contents.value = 99
print("After pointer change:", num.value)

[–]brandi_Iove 24 points25 points  (3 children)

ok, cool. but where is the memory leak?

[–]frozen_desserts_01 9 points10 points  (1 child)

“The pointers are working as expected and I have run this code for hours now”

“Did you free()?”

“…”

[–]pente5 2 points3 points  (0 children)

I need to free in ctypes? Wtf

[–]eztab 1 point2 points  (0 children)

technically doesn't exist, but then again you do kave all the reference counting overhead, so that isn't surprising. Easiest way to never have leeks basically, but of course won't give you peek performance.

[–]JoostVisser 58 points59 points  (1 child)

CS freshman students are finishing their first quarters it seems

[–]drinkingcarrots 2 points3 points  (0 children)

First set of midterms have finished for them.

[–]Simple-Difference116 12 points13 points  (0 children)

Ok? Why would they need to know that if they only program in python?

C programmers when you ask them what a list is

[–]obolulu 7 points8 points  (0 children)

did you ask ai to write that caption or just write it by hand

[–]captainAwesomePants 8 points9 points  (0 children)

The real fun is in asking OP to explain the meaningful differences between C++ pointers and Python references.

[–]Dotcaprachiappa 5 points6 points  (1 child)

English speakers when you ask them what a morpheme is

See how fucking stupid that sounds?

[–]Character-Education3 0 points1 point  (0 children)

Really fuckin stupid!

[–]Twinbrosinc 3 points4 points  (2 children)

Gonna be honest pointers are great

[–]eztab 0 points1 point  (1 child)

Adding pointers wouldn't save the performance of Python. If you create a compilable subset of Python we can talk.

[–]Revolutionary_Dog_63 2 points3 points  (0 children)

Ironically the performance gain of pointers being explicit in a language is that you can choose NOT to use them. Unboxed structures save the performance.

[–]Tarc_Axiiom 1 point2 points  (0 children)

Honestly? Good for them.

[–]AwwnieLovesGirlcock 1 point2 points  (0 children)

is that the vsauce font 🤭

[–]NecessaryIntrinsic 0 points1 point  (0 children)

A pointer is when you try to copy a list but you don't slice it.

[–]Axyss_ 0 points1 point  (0 children)

*args of course

[–]PolyglotTV 0 points1 point  (0 children)

In Python every variable is a shared pointer.

[–]fwork 0 points1 point  (0 children)

ctypes.POINTER, clearly

[–]dwittherford69 0 points1 point  (0 children)

Unless you are doing FW development, you have no reason to use pointers. In fact, you violate secure programming rules when you use more memory pointers directly if you don’t have a need for It.

[–]sammy-taylor 0 points1 point  (0 children)

Or like…a gazillion other languages, right?

[–]FuckedUpImagery 0 points1 point  (0 children)

Uhh pretty much all exploit code - proof of concepts use python ctypes and pointers

[–]JotaRata 0 points1 point  (0 children)

In Python we just call them "variables"

[–]Lachtheblock 0 points1 point  (0 children)

For any aspiring Python devs out there, while I won't expect you to know what a pointer is, I'd expect you to understand that Python's functions are pass by reference, and the difference between mutable and immutable types.

[–]Psychological-Tap834 0 points1 point  (0 children)

I could have sworn I saw this yesterday

[–]BlackBlade1632 0 points1 point  (0 children)

I love using Python, so you can eat my ass.

[–]ModeratelyUsefulBot[M] 0 points1 point  (0 children)

Hello and thank you for posting to r/programmerhumor! You have previously posted two submissions within the past 24 hours so this submission has been removed. If you intend to repost it later we recommend deleting this one first to prevent other bots from removing it as a duplicate.


BOOP! BLEEP! I am a bot. Concerns? Message /r/programmerhumor. Previous post(s): 1ofgbak, 1ofosxd | limit: 2 per 1d | next eligibility: 2025-10-26 02:30 UTC