this post was submitted on 05 Sep 2023
829 points (98.5% liked)

Programmer Humor

19544 readers
849 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 27 comments
sorted by: hot top controversial new old
[–] darcy@sh.itjust.works 42 points 1 year ago (4 children)

bro has never heard of reading the compiler error

[–] UndefinedIsNotAFunction@programming.dev 16 points 1 year ago* (last edited 1 year ago) (1 children)

When you're in VSCode with 10 different red squiggles, who can be bothered?

Edi: Also, OH MY GOD JUNIORS WHO WON'T JUST GOOGLE THE ERROR MESSAGE.

[–] darcy@sh.itjust.works 6 points 1 year ago

vim supremecy

[–] ChickenLadyLovesLife@lemmy.world 7 points 1 year ago (1 children)

I first started programming with TurboBasic which had the oh-so-amusing characteristic that you could have variable names of any length but the compiler only used the first two letters (and case-insensitive at that). So "DonutCount" and "DoobieCounter" actually referred to the same variable.

Really good times trying to debug that kind of shit.

[–] PoolloverNathan@programming.dev 5 points 1 year ago (1 children)

I'm trying to write an intentionally bad programming language. Don't give me ideas.

[–] ChickenLadyLovesLife@lemmy.world 2 points 1 year ago (1 children)

Make sure you add a "Variant" type lol.

[–] PoolloverNathan@programming.dev 1 points 1 year ago (1 children)
[–] ChickenLadyLovesLife@lemmy.world 1 points 1 year ago (1 children)

Oh you sweet summer child. The Variant type in VB was so much worse than just a String.

[–] PoolloverNathan@programming.dev 1 points 1 year ago (1 children)

I'm just complaining since I have the fortune of using a language where everything is represented as a string.

What is 3 + 5?

[–] ChickenLadyLovesLife@lemmy.world 3 points 1 year ago (1 children)

A lot of people would say 8, I'm glad I didn't have to correct you.

[–] redempt@lemmy.world 7 points 1 year ago

man will never survive the rust programming language

[–] Klaymore@sh.itjust.works 4 points 1 year ago

Python issue

[–] James_Ryan@feddit.de 37 points 1 year ago (4 children)

You all use notepad to code?

[–] GigglyBobble@kbin.social 34 points 1 year ago

According to my recruiter, you code on a whiteboard.

[–] JazzAlien@lemm.ee 22 points 1 year ago (1 children)

These memes are made by first semester cs students

[–] fidodo@lemm.ee 0 points 1 year ago

I was taught java my first semester. I certainly hope no schools teach dynamic languages in the first semester.

[–] alphacyberranger@sh.itjust.works 7 points 1 year ago (2 children)

I had to edit code on terminal using nano in production.

[–] original_ish_name@lemm.ee 3 points 1 year ago

Use the great vim, install a linter plugin if you need one

[–] 257m@lemmy.ml 2 points 1 year ago (1 children)

Why not just use vim? It's preinstalled.

[–] alphacyberranger@sh.itjust.works 2 points 1 year ago (1 children)

Not inside a docker container.

[–] 257m@lemmy.ml 1 points 1 year ago

I used to write websites with Notepad. The upside is that you really had to learn HTML to do it; the downside is that it proves to the world that you're a fucking lunatic.

[–] mrsnowflake@programming.dev 11 points 1 year ago (2 children)

Missed an exclamation mark (as in negation) would be better and happens to anyone.

[–] hstde@feddit.de 7 points 1 year ago

Or using < instead of <= or >

Something is either true or false, I would expect to have at least 50% of a chance to get it right on the first try. Nah, I fail to implement it three times because my brain went on vacation without telling me.

[–] TheGreenGolem@lemm.ee 7 points 1 year ago

Needs more jpeg!