this post was submitted on 08 Sep 2024
560 points (97.9% liked)

Programmer Humor

19618 readers
1 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
 
top 45 comments
sorted by: hot top controversial new old
[–] jubilationtcornpone@sh.itjust.works 39 points 2 months ago (4 children)

Forgot "Pasting it into a Word document".

[–] ValiantDust@feddit.org 12 points 2 months ago

I would never paste code into a Word document. I use Notepad++ for that.

[–] Sylence@lemmy.dbzer0.com 8 points 2 months ago (2 children)

I've had more than one person I work with take screenshots of their desktop, paste them into a word document, then attach the word document to an email to get me to help them with their problem. This has the same energy.

[–] 0x0@programming.dev 3 points 2 months ago

Used to work in a place where, to get credentials, a used would need to simple send an email from their mail servers and would be enough... One of them would write a fancy Please add used x letter, print it, have the Head of Whatever sign it, scan it onto non-OCR pdf, then mail it... joy.

[–] undefined@links.hackliberty.org 3 points 2 months ago (1 children)

I’ve always wished Markdown was better supported in email. I work with external companies’ APIs a lot where email is the medium, and typically I use a Windows monospace font for code snippets (I’m on macOS but there are a handful of monospaced fonts that work on both).

It’s very clunky, and I wish the backtick notation would work out of the box. Whoever decided HTML in email was the way to go should be shot.

[–] Sylence@lemmy.dbzer0.com 2 points 2 months ago

I completely agree, and in general working with email programmatically sucks. MIME is a mimefield.

[–] massive_bereavement@fedia.io 7 points 2 months ago (3 children)

Honest to god, I've seen people from the past trying to write html for a website on Word.

[–] nulluser@programming.dev 8 points 2 months ago (2 children)

True story, about 20-25 years ago, a radio station in my home town was playing ads for some new local business doing web design.

After hearing the ad on my drive to work for the umpteen billionth time I finally got curious and went to check out their own website (I they're charging people to build websites, they're own website must be a pretty awesome demonstration of their skills, right?)

The website looked like absolute garbage and, upon viewing the source, the meta tags clearly betrayed the fact that it was created in Word.

I can only imagine how much money they were paying to run those ads. I even considered the possibility I was being pranked somehow.

[–] starshipwinepineapple@programming.dev 5 points 2 months ago (2 children)

In fairness websites from 2000-2004 werent all that better

Were there better ways to make a site? Absolutely, but it is much less wild than if you told me that this happened last week. Plus i would hope they were just churning out websites for cheap since a lot places didn't have a website, or they used geocities/similar

[–] massive_bereavement@fedia.io 3 points 2 months ago

For me that's the golden age, and after that: darkness, desperation, flash.

[–] glockenspiel@programming.dev 2 points 2 months ago

I don't care what you say, the Apple store circa 2001 is iconic and definitely has that "lickability" factor that Jobs loved so much about the original OS X's Aqua UI.

[–] 0x0@programming.dev 1 points 2 months ago

Word? Not FrontPage? That was an improvement.

[–] TurtleTourParty@midwest.social 7 points 2 months ago

Did they not know that word can generate very convoluted HTML for them?

[–] undefined@links.hackliberty.org 2 points 2 months ago

I started learning HTML at the age of 10 using FrontPage and Word. There were entire utilities dedicated to stripping out Word’s atrocious HTML at the time.

[–] hemko@lemmy.dbzer0.com 4 points 2 months ago

Pfff

I code in PowerPoint

[–] veganpizza69@lemmy.vg 27 points 2 months ago (4 children)

Start a religion where the clergy maintain both written and oral versions of your code as a sacred text.

[–] jwt@programming.dev 10 points 2 months ago

Schisms are just feature branches, it all makes sense!

[–] Sasha@lemmy.blahaj.zone 4 points 2 months ago

Now I'm wondering, surely someone has already made a language that's designed to read like scripture?

[–] brbposting@sh.itjust.works 3 points 2 months ago

Hello world, hallelujah, hallelujah

[–] glockenspiel@programming.dev 1 points 2 months ago

When did code reviews become this weird?

[–] dsilverz@thelemmy.club 24 points 2 months ago (2 children)

Have a proper radio ham license. Buy a 40-meter transceiver and a software defined radio dongle. Convert your code into esoteric programming languages such as Whitespace and Brainf, then spell it. "Plus, plus, next, plus, dot, open bracket, next, ...". Transmit your spelling over 40-meter band, while a receiver across the continent is tuned to the frequency. Ask it to repeat and record the QSO. Set the SDR recorder to I/Q packets instead of demodulating AM. Publish it as an audiobook.

[–] philpo@feddit.org 11 points 2 months ago

Or pirate radio it and make people think it's a new number station. Then someone will surely put it on YouTube so you can listen to it there.

[–] qjkxbmwvz@startrek.website 5 points 2 months ago

Or go full CW, and just transmit source code in binary as dits and dahs. (So long as you document what you're doing it should be legal, though I'm not sure if you should use the CE portion of he band since it's nonstandard...)

[–] bhamlin@lemmy.world 22 points 2 months ago (1 children)

Train an LLM on your code and share the model.

[–] JackGreenEarth@lemm.ee 32 points 2 months ago

If you publish it on github, that's already taken care of for you!

[–] sjmarf@sh.itjust.works 20 points 2 months ago* (last edited 2 months ago) (3 children)

Oh hey, it's the Minecraft guy

[–] phorq@lemmy.ml 14 points 2 months ago

You mean Jack Black? Yeah, he is a notch above the rest.

[–] cupcakezealot@lemmy.blahaj.zone 3 points 2 months ago (1 children)

Oh hey, it’s the ~~Minecraft~~ racist, homophobic, transphobic, and misogynistic guy

[–] sjmarf@sh.itjust.works 5 points 2 months ago* (last edited 2 months ago)

Oh, really? That's disappointing to hear; I had no idea he was like that.

[–] hakunawazo@lemmy.world 1 points 2 months ago

What's the favorite location of Notch? Cuba.
/dadjoke off

[–] qaz@lemmy.world 16 points 2 months ago

A classmate I was doing a project with saved his code as screenshots in a word document.

[–] jet@hackertalks.com 15 points 2 months ago (1 children)

Dreaming of your code when sleeping.

[–] devilish666@lemmy.world 7 points 2 months ago (1 children)

I don't know if it's true or just joke, but some of my friends when we are still in uni tell me that they are dreaming code
What they saw in their dream is everything like matrix movie & every object has its own class/deps printed on it, daaaang.... that's interesting, i wish i could dream like that too but with terminal/konsole access so i can debugging my dream

[–] Anticorp@lemmy.world 7 points 2 months ago

It's not a joke. I had similar dreams when I was learning object oriented programming. When you really understand OOP, you see just how accurately it represents the structure of things. It's pretty brilliant.

[–] slazer2au@lemmy.world 11 points 2 months ago

I'd be in favour of that with anything written in Rockstar.

[–] mac@lemm.ee 9 points 2 months ago (2 children)

lol, when I first started playing around with programming around grade 6 or 7, I'd print out code to read it

[–] QuazarOmega@lemy.lol 7 points 2 months ago

You were far ahead of professors that make you write it out with pen and paper

[–] fruitycoder@sh.itjust.works 3 points 2 months ago

I did that for work. Could have my phone but we could read so I just printed out c or python and tried to make sense of what I was reading

[–] Mwa@lemm.ee 7 points 2 months ago

getting the code through morse code

[–] spaghetti_hitchens@fedia.io 7 points 2 months ago

The Spaghetti Album

[–] MeatsOfRage@lemmy.world 7 points 2 months ago

"Const my function equals opening parenthesis opening curly brace argh closing curly brace closing parenthesis... fat arrow..."

[–] cupcakezealot@lemmy.blahaj.zone 5 points 2 months ago

the semicolon was calling from inside the house

[–] sundray@lemmus.org 3 points 2 months ago (1 children)

Available in braces, brackets, and parenthesis versions.

[–] glockenspiel@programming.dev 2 points 2 months ago

I'll take one of each, please.

[–] matmarspace@programming.dev 3 points 2 months ago

That's creative