this post was submitted on 07 Jun 2026
283 points (98.0% liked)

Programmer Humor

31722 readers
1125 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 3 years ago
MODERATORS
top 14 comments
sorted by: hot top controversial new old
[–] rainbowbunny@slrpnk.net 1 points 1 hour ago

What about Godot script?

[–] HeHoXa@lemmy.zip 2 points 4 hours ago

Our company has seen long and bloody wars fought over the semicolon

[–] maxalmonte14@lemmy.world 1 points 4 hours ago

I code in Python.

Well, that's depressing.

I'm not a fan of python too, so I get her crying.

[–] ChickenLadyLovesLife@lemmy.world 6 points 9 hours ago (2 children)

Don't cry, babe -- at least I didn't say Visual Basic.

[–] daeraxa@programming.dev 2 points 3 hours ago* (last edited 3 hours ago)

I understand the hatred of VB generally but as a non-programmer (just technically literate and knows enough to be dangerous with a computer) writing VB (in the form of VBA) was extremely accessible and surprisingly intuitive - far more than I ever experienced when dabbling in python, JavaScript and Rust.

(What I made was unhinged, unholy and should never see the light of day. It made a normally talkative .net programmer go silent in shock yet it is responsible for managing the project resourcing in a big department in the company... But it was quite fun and it does work...)

[–] SeductiveTortoise@piefed.social 4 points 7 hours ago* (last edited 7 hours ago)

I do not ask your pardon, Master Elrond, for the Black Speech of ~~Mordor~~ Microsoft may yet be heard in every corner of the West!

[–] JamonBear@sh.itjust.works 5 points 12 hours ago

Give me some space!

[–] glizzyguzzler@piefed.blahaj.zone 37 points 19 hours ago (1 children)

You can slam semicolons at the ends of lines in Python, interpreter doesn’t care

P sure you can do multiple lines in one line by slamming semicolons too, though idr for sure and I can’t be arsed to check

[–] affenlehrer@feddit.org 5 points 12 hours ago (1 children)

I've done it a lot to add

import pdb; pdb.set_trace()

[–] lengau@midwest.social 4 points 12 hours ago

These days though you can just breakpoint()

[–] insomniac_lemon@lemmy.cafe 8 points 20 hours ago (1 children)

In a different language that uses whitespace:

proc blank_map*:void =
 mines_placed = 0
 row8 = newseq[uint8](width); game_map = newseq[row8](height)
 row16 = newseq[int16](width); sum_map = newseq[row16](height)
 rowChar = newseq[char](width); state_map = newseq[rowChar](height)
 for h in 0.uint8..<height:
  game_map[h] = row8; sum_map[h] = row16
  state_map[h] = rowChar

I'm allowed to do it, it's allowed

(I don't use it a lot and I'm sure many dislike this because longer lines especially if they have less display width for whatever reason)

[–] RamRabbit@lemmy.world 9 points 20 hours ago* (last edited 19 hours ago) (1 children)

O, O, OHH burn it.

In this house we code one line per line.

[–] caseyweederman@lemmy.ca 3 points 6 hours ago

You can fit so many lines in this line