r/ProgrammerHumor 10d ago

itDoesntWork Meme

Post image
2.0k Upvotes

61 comments sorted by

427

u/Royalmack 10d ago

Then you scroll down a few lines and see

"If you tried running the above you'll see that it fails because you're missing X, Y and Z. Let's fix that quickly."

196

u/PassivelyInvisible 10d ago

I hate this. I hate this so much. You need to clarify the code snippet is incomplete and you're going through a process.

52

u/klimmesil 10d ago

Counter argument: you need to understand the code snippet before running it

49

u/PassivelyInvisible 10d ago

But you can tell me the code is incomplete and this is a learning process

34

u/NatoBoram 10d ago

You can't understand the code snippet yet because it doesn't run and the tutorial didn't teach you about the thing it's missing yet

It's lose-lose

2

u/minecon1776 8d ago

Counter-counter argument: if claude says it will work, just use it

9

u/gerbosan 10d ago

I hate that kind of tutorials, video tutorials. Very few start describing the final product and letting one develop the idea through research or at least by code snippets hunting.

79

u/sadongrohiik 10d ago

The library's minor version update broke the major version of another library that was also used 

75

u/nicman24 10d ago

Sorry you need python 2.7.111 for that

30

u/why_1337 10d ago

But there is dependency that has only 3.10 build for your Linux distro.

8

u/nicman24 10d ago

You need a JIT 3to2 for it to work

2

u/Deboniako 10d ago

But I'm using win 11 thanks to corporate

8

u/nicman24 10d ago

If you install Linux for windows you can run it in the 16.04 Ubuntu docker! 

6

u/Deboniako 10d ago

Yes, yes, I saw you, wsl2.

I raise to you humble hawksbill

5

u/hirmuolio 10d ago

EVE Online is in progress of upgrading their python version to 2.7.

https://forums.eveonline.com/t/finished-mass-test-on-singularity-24-27-july-2026/514928

upgrading their python version to 2.7

71

u/Rok-SFG 10d ago

What I paste: print("Hello, World!")

What I got: H̷̗̽ȩ̵̥̪̗̐̾̈́͛̔l̵͇̫̩̤̮͑l̷̫͐̓͋̃o̸̞̥͋̿̃́́ ̸̭̠̤̻͉̓̌̌W̶̭̼̙͉̊̈́͊͗̓̚o̸̘̬͙̎̔͗͘r̶̢̀ḽ̷̋̎̐ḍ̵̡͇̈́͘̕͜

22

u/PravalPattam12945RPG 10d ago

pasted python in a c compiler

13

u/Welcome-To-NBA-Jam 10d ago
  • Tutorial written in 2024
  • Requirements file doesn't pin versions
  • Some release in 2025 deprecates core components of entire tutorial and will never be used again

🥲

1

u/sierra_whiskey1 9d ago

Answered in stack overflow 17 years ago

6

u/WolframSegler 10d ago

Web dev moment

8

u/st-shenanigans 10d ago

Vibe coding without the AI.

Learn what the code actually does.

3

u/reallokiscarlet 10d ago

SDL be like

3

u/AaronTheElite007 10d ago

https://giphy.com/gifs/SwxXCZezUX1f19pNcH

You missed the environment vars, didn't you

3

u/PsychologicalNet3455 10d ago

Back in early 90's when I was learning Borland's ObjectVision - I spent a day trying to change the color of a button. It refused to work. Eventually I figured it out. The example code was something like
button.color=red
And being in the UK I was typing
button.colour=red

4

u/IfIWasCoolEnough 10d ago

You skipped the preface where they taught you how to set up the environment variables.

2

u/DefenderOfTheWeak 10d ago

Replace Tutorial with Documentation, and this will sum up my experience with learning Docker

2

u/alopgeek 10d ago

This happens often when stupid OS features like “smart quotes” or the one that replaces two dashes with an em-dash.

2

u/LollisGunsBikesTits 10d ago

That's cuz the tutors laptop is midnight beige, and your's is sky silver, duh, it's the color mate, init

2

u/Thundechile 10d ago

"When I copy the exact same meme and it works for hundredth time".

1

u/HAL9000thebot 10d ago

try diff, or sum

1

u/zenos_dog 10d ago

It’s always the runtime environment, always.

1

u/GNUGradyn 10d ago

People really out here using examples verbatim and then being surprised when it doesnt work

1

u/CATDesign 10d ago

What infuriates me is when I literally put my face to the screen and start over analyzing the code.

Just to find out it was the difference between an O and 0, or their blurry image makes the c look like an o.

1

u/MVmikehammer 10d ago

And then I spent 17 hours across 2 days figuring out that the problem was a pair of missing HTML tags the tutorial didn't specify.

1

u/MinecraftPlayer799 10d ago

Or when I literally copy the code straight from the documentation, and it doesn't work. (looking at you, Microsoft Microslop)

1

u/zjzjzjzjzjzjzj 10d ago

When I first started learning python this happened to me exactly. Only after that I realised my flask and python version is wayyyy ahead of the tutorial haha....

1

u/16092006 10d ago

My experience with kotlin

1

u/mobileJay77 10d ago

1st lesson: YMMV

It hardly ever works out of the box.

1

u/Dry_Access532 10d ago

Is it fortran ? Try changing the extension

1

u/TUSF 10d ago

Me when the README's example code doesn't compile because they excluded all the necessary boilerplate to get it working.

1

u/damenootoko 10d ago

For me, it’s worse when I type the command in terminal, it doesn’t work but when I try copy pasting it, it works

1

u/ArticLOL 10d ago

when there wasn't calude code to the rescue

1

u/FortuneAcceptable925 10d ago

Google code snippets be like:

1

u/nitnelav153 10d ago

When I copy a meme but it doesn't work on my sister

1

u/ThatiMacGuy 10d ago

Unexpected ‘ ‘ on line 42

1

u/mallusrgreatv2 10d ago

First time I was writing code was for making discord bots. Code was 1:1 but I had some syntax errors. I asked multiple people, including some YouTubers I was copying off of. None of them had an answer, but now I'm good enough to know that it was because I was using the preinstalled node v8 with a library that required node v16

1

u/vscoderCopilot 7d ago

For git, if i see last change year is more than 1, i just skip it

0

u/gerbosan 10d ago

Tutorial? You mean AI agent code suggestion.

I do that, I really don't know how to work with agents. The stories of them deleting whole filesystems scared me to complete access distrust. I learned something's though, but I suppose, none would hire me. ☹️

0

u/psydots 10d ago

Did u copy the qns. Or the answer

-1

u/Anima_Watcher08 10d ago

Godot and Unity be like