this post was submitted on 10 Jul 2024
652 points (98.9% liked)

Programmer Humor

19623 readers
92 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
[–] NegativeLookBehind@lemmy.world 81 points 4 months ago (4 children)

Take me down to the PropertyCity where the SelectFoliage is #008000 and the HumanFemales.young(pretty)

[–] ibasaw@lemmy.world 23 points 4 months ago* (last edited 4 months ago) (1 children)

Oh won't you please take me 127.0.0.1

[–] i_am_hiding@aussie.zone 8 points 4 months ago (1 children)

Oh won't you please take me localhost??

[–] snugglebutt@lemmy.blahaj.zone 1 points 4 months ago

no place like ~/

[–] Fades@lemmy.world 15 points 4 months ago (3 children)

Why are females typed differently than males instead of a base class human with a gender identity parameter? Why would human anything have a function called young?? What would that function even do????

[–] purplemonkeymad@programming.dev 4 points 4 months ago (1 children)

HumanFemales and HumanM both inherit from the Ape base class, it's from an older java code base. We tried to change it once but it turned out the person that had written had retired and any changes we made just broke stuff.

[–] Fades@lemmy.world 1 points 4 months ago

Haha, I like this answer!

[–] cheddar@programming.dev 2 points 4 months ago (1 children)

The young method returns a boolean parameter. Females have a different type for obvious biological discrepancies that require extra functionality.

[–] Fades@lemmy.world 1 points 4 months ago* (last edited 4 months ago)

I can accept your second point, but in your PR I would absolutely request you to rename the method to isYoung, and then in making said comment I would then ask… what value isYoung providing, and where is the line between young and !young ultimately for trying to get the dev to reevaluate the design. It’s hyper specific in an obtuse manner and I think it hints at design flaws especially with the perspective of product evolution

[–] qarbone@lemmy.world 2 points 4 months ago

Could be a subclass. However, it should just be an 'is' method which is passed the array of [young, pretty] as input

[–] Stupidmanager@lemmy.world 9 points 4 months ago

I’m more of a mountain guy so #4a522e or #3d7435 really do it for me. But hey, you do you.

[–] ChickenLadyLovesLife@lemmy.world 5 points 4 months ago (1 children)

Not really relevant, but I used to think Axl was singing "take me down to the very last city".

[–] sundray@lemmus.org 2 points 4 months ago

New Destiny lore just dropped.