this post was submitted on 07 Dec 2023
831 points (96.2% liked)

Programmer Humor

22657 readers
1661 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] stebo02@sopuli.xyz 113 points 1 year ago (5 children)

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

[–] troyunrau@lemmy.ca 79 points 1 year 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 26 points 1 year ago (1 children)

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

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

Same! I also learned about

import this
[–] HerbalGamer@sh.itjust.works 6 points 1 year ago* (last edited 1 year 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 28 points 1 year ago (1 children)

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

[–] scratchresistor@thelemmy.club 3 points 1 year ago

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

[–] CodeMonkey@programming.dev 22 points 1 year 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 1 year ago

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

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

Which is a library written in C, of course.

[–] psud@aussie.zone 8 points 1 year 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 1 year 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