this post was submitted on 07 Dec 2023
822 points (96.1% liked)

Programmer Humor

19572 readers
1533 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] stebo02@sopuli.xyz 109 points 11 months ago (5 children)

no python? how are normie programmers like me supposed to relate to this?

[–] troyunrau@lemmy.ca 77 points 11 months ago (1 children)

You have python. You import antigravity. The princess flies off into space. You monkey patch the princess so she has wings.

[–] stebo02@sopuli.xyz 25 points 11 months ago (1 children)

And this is how I learned about the antigravity module. Pretty cool!

[–] aniki@lemm.ee 8 points 11 months ago (1 children)

Same! I also learned about

import this
[–] HerbalGamer@sh.itjust.works 6 points 11 months ago* (last edited 11 months ago)

import this

"In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch."

lol

[–] aniki@lemm.ee 26 points 11 months ago (1 children)

The artist is still waiting for the python cells to render.

[–] scratchresistor@thelemmy.club 3 points 11 months ago

Rescuing is only I/O bounded; your argument is irrelevant.

[–] CodeMonkey@programming.dev 22 points 11 months ago (1 children)

Python: You send someone else to rescue the princess on your behalf. That someone else is the C knight.

[–] scratchresistor@thelemmy.club 2 points 11 months ago

Only if you have to rescue many princesses in a short period of time

[–] iAvicenna@lemmy.world 18 points 11 months ago (1 children)
[–] CanadaPlus@futurology.today 14 points 11 months ago

Which is a library written in C, of course.

[–] psud@aussie.zone 7 points 11 months ago (1 children)

No perl either. Much like python you find a relevant library (in cpan), but unlike python there will be seven different implementations, and any four perl devs will come up with at least ten solutions, nine of which will successfully rescue the princess

[–] evranch@lemmy.ca 6 points 11 months ago

Everything will seem to be be going great, but to actually gain access to the castle you'll have to compare your situation to successful rescues to find the undocumented drawbridge control