this post was submitted on 08 Sep 2024
550 points (98.1% liked)

Programmer Humor

19486 readers
636 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
 
all 44 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 month ago

the semicolon was calling from inside the house

[–] [email protected] 3 points 2 months ago

That's creative

[–] [email protected] 20 points 2 months ago* (last edited 2 months ago) (2 children)

Oh hey, it's the Minecraft guy

[–] [email protected] 4 points 1 month ago (1 children)

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

[–] [email protected] 5 points 1 month ago* (last edited 1 month ago)

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

[–] [email protected] 14 points 2 months ago

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

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

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

[–] [email protected] 7 points 2 months ago

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

[–] [email protected] 7 points 2 months ago

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

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

[–] [email protected] 1 points 1 month ago

When did code reviews become this weird?

[–] [email protected] 4 points 2 months ago

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

[–] [email protected] 10 points 2 months ago

Schisms are just feature branches, it all makes sense!

[–] [email protected] 3 points 2 months ago

Hello world, hallelujah, hallelujah

[–] [email protected] 3 points 2 months ago (1 children)

Available in braces, brackets, and parenthesis versions.

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

I'll take one of each, please.

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

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

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

[–] [email protected] 16 points 2 months ago

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

[–] [email protected] 7 points 2 months ago

getting the code through morse code

[–] [email protected] 7 points 2 months ago

The Spaghetti Album

[–] [email protected] 37 points 2 months ago (4 children)

Forgot "Pasting it into a Word document".

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

[–] [email protected] 3 points 1 month 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.

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

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

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

[–] [email protected] 4 points 2 months ago

Pfff

I code in PowerPoint

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

[–] [email protected] 2 points 1 month 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.

[–] [email protected] 7 points 2 months ago

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

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

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

Word? Not FrontPage? That was an improvement.

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

[–] [email protected] 2 points 1 month 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.

[–] [email protected] 3 points 2 months ago

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

[–] [email protected] 12 points 2 months ago

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

[–] [email protected] 22 points 2 months ago (1 children)

Train an LLM on your code and share the model.

[–] [email protected] 31 points 2 months ago

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

[–] [email protected] 14 points 2 months ago (1 children)

Dreaming of your code when sleeping.

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

[–] [email protected] 11 points 2 months ago

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