this post was submitted on 01 Sep 2023
116 points (98.3% liked)

Programmer Humor

37022 readers
65 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] ICastFist@programming.dev 26 points 2 years ago (3 children)

"Girl, I named no variables after you, because you're my only Constant"

smooth πŸ‘

[–] Supertramper@feddit.de 4 points 2 years ago

You’ll need an exception handler for all those dropping panties.

[–] TerryTPlatypus@beehaw.org 2 points 2 years ago* (last edited 2 years ago) (1 children)

"Girl, you are my Two's Complement, you're always my plus one on any occaision"

Cuz if you invert the bits of of a binary number and add one you get its negative number, so your girlfried is an equal part of you

load more comments (1 replies)
[–] cantstopthesignal@sh.itjust.works 21 points 2 years ago (3 children)
[–] Caboose12000@lemmy.world 4 points 2 years ago

lmfao savage

[–] MajorHavoc@lemmy.world 4 points 2 years ago

For being a sick burn, that was ice cold. I love it.

[–] ArbitraryValue@sh.itjust.works 14 points 2 years ago* (last edited 2 years ago) (2 children)

Once when I was still a kid, I told a woman I loved her so much that I could only love her more if she was a robot.

She did not think that was romantic.

[–] UnRelatedBurner@sh.itjust.works 4 points 2 years ago (2 children)

there are so many things wrong with this

load more comments (2 replies)
load more comments (1 replies)
[–] olafurp@lemmy.world 13 points 2 years ago (2 children)

I forked an opensource project to add a couple features for my wife. 😊

[–] some_designer_dude@lemmy.world 6 points 2 years ago (1 children)

And? Did she accept your, err, pull request? 😏

[–] olafurp@lemmy.world 5 points 2 years ago (1 children)
[–] dukk@programming.dev 2 points 2 years ago (2 children)

Remember kids, always use protected branches.

[–] lseif@sopuli.xyz 3 points 2 years ago* (last edited 2 years ago)

and remember, no means no. if git doesnt want you to merge, dont --force it

[–] dodslaser@feddit.nu 3 points 2 years ago (1 children)

Pushing directly to main just feels better.

[–] doppelgangmember@lemmy.world 3 points 2 years ago* (last edited 2 years ago)

I prefer "master"

[–] ApathyTree@lemmy.dbzer0.com 2 points 2 years ago

This is the kind of love I need in life πŸ’œ

So cute! And practical!

[–] Jtskywalker@lemm.ee 8 points 2 years ago (5 children)

I made a website for my wife with a list of a ton of reasons why I love her and each time she taps the screen it shows a new one.

So... that is a thing you can do for the cost of a domain name and some cheap hosting.

load more comments (5 replies)
[–] Nsh@lemmy.ca 7 points 2 years ago (3 children)

The creator of MySQL, MaxDB and MariaDB named them after his children My, Max and Maria, so why not

[–] dan@upvote.au 4 points 2 years ago* (last edited 2 years ago) (1 children)

after his children My

I thought you were kidding, but his daughter is actually named "My".

[–] lord_ryvan@ttrpg.network 2 points 2 years ago

It helps that it's a name in another language (Finnish), where β€œmy” isn't a word, at all.

load more comments (2 replies)
[–] naevaTheRat@lemmy.dbzer0.com 4 points 2 years ago (1 children)

I was thinking about you when I cleaned up this codebase and removed a lot of redundant functions.

[–] float@feddit.de 7 points 2 years ago (2 children)

That sounds more like breaking up.

[–] QuazarOmega@lemy.lol 2 points 2 years ago

The employee that left the mess was already long gone unfortunately

load more comments (1 replies)
[–] neuracnu@lemmy.blahaj.zone 4 points 2 years ago (1 children)

β€œThe two hardest problems in programming are cache invalidation, naming things and off-by-one errors.”

load more comments (1 replies)
[–] efrique@lemm.ee 3 points 2 years ago (1 children)

git branch testing.stephanie.slept.with.my.friend.brad

[–] SpaceCowboy@lemmy.ca 2 points 2 years ago (1 children)
load more comments (1 replies)

The GNU kernel was not originally supposed to be called the Hurd. Its original name was Alixβ€”named after the woman who was my sweetheart at the time. She, a Unix system administrator, had pointed out how her name would fit a common naming pattern for Unix system versions; as a joke, she told her friends, β€œSomeone should name a kernel after me.” I said nothing, but decided to surprise her with a kernel named Alix.

Source: https://www.gnu.org/gnu/thegnuproject.en.html

[–] noodle@feddit.uk 3 points 2 years ago* (last edited 2 years ago) (2 children)

When I was learning programming I wrote a small program that I called for_you.exe. It printed an animated ASCII penis ejaculating on some boobs. I emailed it to my girlfriend and thankfully she thought it was hilarious. We're still together.

[–] bigkahuna1986@lemmy.ml 7 points 2 years ago (1 children)

You can tell your age by the fact that you were emailing an exe file.

[–] sim642@lemm.ee 4 points 2 years ago

And she was just running random exe files from emails.

load more comments (1 replies)
[–] halvar@lemm.ee 3 points 2 years ago

Name a linux distro after her and yourself. Always works.

[–] zeekaran@sopuli.xyz 3 points 2 years ago

I wrote an automation specifically for my partner to unlock the front door when they arrive home.

Also we got a sexy time button.

Home Assistant is a path to what many would consider... Unnatural.

[–] NeonPayload@infosec.pub 2 points 2 years ago

I use friends and family as sample data for unit/integration tests.

At a previous job, I tested an automated email system by scheduling fake events for various US presidents. I've long left that position, but I never cleaned up the test data. Every month I still get a reminder for Nixon's upcoming reservation at the Watergate Hotel.

[–] Semi-Hemi-Demigod@kbin.social 2 points 2 years ago (4 children)

MySQL, MariaDB, and MaxScale are all named after Ulf "Monty" Widenius' kids

load more comments (4 replies)
[–] geekworking@lemmy.world 2 points 2 years ago (7 children)

You can also combine your names into a Linux distribution.

Deb + Ian = Debian.

load more comments (7 replies)
[–] stephfinitely@artemis.camp 2 points 2 years ago (6 children)

This person misunderstands a beautiful function code can be very sexy or maybe I'm a odd girl.

load more comments (6 replies)
[–] crunchpaste@lemmy.dbzer0.com 2 points 2 years ago

Well, I made my girlfriend a GUI app that converts subtitles from Windows-1251 to utf-8 encoding so that she doesn't have to remember how to do it. And I didn't even name it after her...

[–] captainlezbian@lemmy.world 1 points 2 years ago* (last edited 2 years ago)

I’d feel very wooed if my wife named a Linux distro or some open source project of hers after me

load more comments
view more: next β€Ί