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

Programmer Humor

19907 readers
1569 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
[–] [email protected] 108 points 1 year ago (5 children)

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

[–] [email protected] 77 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.

[–] [email protected] 25 points 1 year ago (1 children)

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

[–] [email protected] 8 points 1 year ago (1 children)

Same! I also learned about

import this
[–] [email protected] 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

[–] [email protected] 26 points 1 year ago (1 children)

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

[–] [email protected] 3 points 1 year ago

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

[–] [email protected] 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.

[–] [email protected] 2 points 1 year ago

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

[–] iAvicenna 18 points 1 year ago (1 children)
[–] [email protected] 14 points 1 year ago

Which is a library written in C, of course.

[–] [email protected] 6 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

[–] [email protected] 5 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