this post was submitted on 09 Oct 2026
422 points (98.2% liked)

Programmer Humor

33538 readers
745 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 50 comments
sorted by: hot top controversial new old
[–] Funkt4st1c@lemmy.world 12 points 1 hour ago (2 children)

Bold of you to assume i dont use it daily; it helps to be autistic and need to explain complex thoughts in a single sentence.

[–] JimVanDeventer@lemmy.world 2 points 24 minutes ago

Same with em dashes; nested — turducken style — sentences are just how the divergence works.

[–] deHaga@feddit.uk 1 points 1 hour ago

Ah, I never realised that. For some reason our school never taught us grammar.

[–] Kolanaki@pawb.social 5 points 56 minutes ago* (last edited 56 minutes ago)

I use semi-colons in English all the time; they're fun.

[–] ZoteTheMighty@lemmy.zip 4 points 50 minutes ago

It is a semicolon; we barely use it.

[–] skisnow@lemmy.ca 3 points 1 hour ago

That grammar begs to be read in a Russian accent

[–] JoeBigelow@lemmy.ca 3 points 1 hour ago

It's the sniff between cocaine rants

[–] lastlybutfirstly@lemmy.world 1 points 42 minutes ago

English Teacher: It is semicolon we hardly use it.

So... It's perfectly cromulent to everyone here that an English teacher isn't using proper punctuation and capitalization?

[–] BradleyUffner@lemmy.world 26 points 4 hours ago

Fuck that; I love semicolons.

[–] farmgineer@nord.pub 12 points 4 hours ago

My senior highschool English teacher (a somewhat precocious PHD student), assigned us basically the opposite of code golf; make the longest grammatically correct sentence you can (with some rules that basically amounted to 'do not be boring/repetitive'). The use of semicolons was encouraged.

[–] Heavybell@lemmy.world 69 points 6 hours ago

Ironically, the semicolon would go perfect at the end of the first line.

[–] diemartin@sh.itjust.works 5 points 3 hours ago (1 children)

Python and Lua would like to have a word with you

[–] diemartin@sh.itjust.works 10 points 3 hours ago (1 children)

Or you could do as I did when some annoying guy asked me to "help him" with CS homework (actually wanted me to write the entire app for him, and refused to actually learn). I don't remember what it was actually about, but I sent him something like:

import sys as s
class Main:
  def __init__(slef, av):
    slef.teh_arguments =av;
  #enddef;
  def main(sefl):
    doSomething();
    do_something_else(sefl.teh_arguments);
    pls_DontDothis();
  #enddef;
#endclass;
if(__name__[2:6]== 'main'  ):
  Main(s.argv).main();
#endif

It didn't go well with his professor. I wonder if he's a vibe coder now

[–] tetris11@feddit.uk 9 points 3 hours ago (1 children)

you forgot the #endimport pragma you dumbass

[–] CompactFlax@discuss.tchncs.de 3 points 3 hours ago

I wore out that key on my computer. Betweeen IRC and Java, it didn’t last long.

[–] chunes@lemmy.world 2 points 2 hours ago (1 children)

So many of the languages that don't use semicolons to separate statements use them to start line comments. It's like some sort of flex.

[–] kubica@fedia.io 1 points 22 minutes ago

They can get truncate-divided by 0.

[–] FrowingFostek@lemmy.world 13 points 5 hours ago (4 children)

Also self harm survivors apparently tattoo themselves with it. I like to think it's a reminder for them that life goes on.

[–] NeatNit@discuss.tchncs.de 19 points 4 hours ago

Specifically, failed suicide attempts. It's because a semicolon is used where a sentence could have ended, but keeps going.

load more comments (3 replies)
[–] CactusEcho@piefed.social 3 points 3 hours ago (1 children)

Lisp devs don't understand this

[–] tetris11@feddit.uk 5 points 3 hours ago* (last edited 3 hours ago) (1 children)

Lisp devs go out of their way to pretend they're not dealing with lisp

      ...
      (
          isthatso? chump muffin
)))))))))))))))))))))))))))
;; function ended 10 brackets ago
[–] cows_are_underrated@feddit.org 2 points 56 minutes ago (1 children)

I fucking hatte Lisp for its excessive use of brackets. Fuck the Person who thought that you only need one type of bracket and then have shove absolutely fucking everything into it.

[–] expr@programming.dev 2 points 33 minutes ago

Lisps are hardly my favorite languages, but the whole point of s-expressions is that it is a uniform syntax, which makes metaprogramming much, much easier. Metaprogramming is kind of the whole thing of lisps.

[–] desmosthenes@lemmy.world 4 points 4 hours ago (1 children)

those days are largely over for a few major langauges

[–] cows_are_underrated@feddit.org 1 points 53 minutes ago* (last edited 53 minutes ago) (1 children)

Hear me out, but whatever lunatics at python decided that brackets and semicolons are unnecessary, have made a catastrophic mistake with it. I start using another editor that uses different amount of spaces for tabs and suddenly my code no longer runs. Its also absolutely horrible when you chase down a bug for an hour just to realise, that one additional/missing tab changed the scope of your code and broke your entire script.

[–] desmosthenes@lemmy.world 1 points 13 minutes ago

python, haskell, lua, typescript, babel, shell (newline), I dunno what else nowadays - the compiler will insert them need be

[–] rockerface@lemmy.cafe 19 points 6 hours ago (1 children)

Incorrect, that's a Greek question mark

[–] Tja@programming.dev 15 points 5 hours ago

Before IDEs were smart it was a great prank

[–] Zensate@lemmy.world 13 points 5 hours ago* (last edited 5 hours ago) (2 children)

I use semi-colons a lot. People are so intimidated by them and they refuse to admit how simple they are; it's literally the combination of a comma and a colon, that's it. Use it for when both are needed.

[–] NeatNit@discuss.tchncs.de 12 points 4 hours ago* (last edited 4 hours ago) (1 children)

That is incorrect (to my understanding), it's the combination of a comma and a period; it only resembles a colon in appearance.

[–] Goodeye8@piefed.social 10 points 4 hours ago (1 children)

My colon definitely doesn't look like that and if yours does I suggest a doctor's visit.

[–] NeatNit@discuss.tchncs.de 6 points 3 hours ago

~~Fun fact:~~ Mildly annoying fact: a surgery to remove a colon is called a colectomy. A surgery to remove part of a colon is called hemicolectomy. Come on!!! Semi- and hemi- are practically synonyms!

And I can't quite remember or find right now what they call what remains, but I distinctly remember that it's not called a semicolon. Medicine is so dull.

[–] Zarobi@aussie.zone 2 points 3 hours ago (3 children)

It's just a super comma; you can more-or-less use it as a drop-in replacement for EM-Dashes that LLNs ruined for everybody. Also useful for long, complicated lists that feature too many commas and get confusing to read

[–] Telodzrum@lemmy.world 2 points 1 hour ago (1 children)

This isn’t right. Both sides of a semicolon need to be independent clauses. That’s not the case with a comma or an em dash; both of which serve similar, but largely distinct, purposes.

[–] MrQuallzin@pie.eyeofthestorm.place 1 points 52 minutes ago

Independent but related clauses is how I treat it. I wouldn't put a semicolon between unrelated clauses.

[–] tetris11@feddit.uk 2 points 3 hours ago

LLN

Law of Large Number ruined everything

[–] Damage@slrpnk.net 2 points 3 hours ago

Qwen loves semicolons. It does love dashes as well

[–] rumschlumpel@feddit.org 26 points 6 hours ago (1 children)

Python developer: LOL. LMAO

[–] LeFrog@discuss.tchncs.de 31 points 6 hours ago (10 children)

as a fellow Python user, I fucking hate significant whitespace. Also YAML. WTF they where thinking

[–] rumschlumpel@feddit.org 1 points 16 minutes ago* (last edited 15 minutes ago)

Significant whitespace is the best! I don't understand why so many people have issues with it.

[–] rockSlayer@lemmy.blahaj.zone 3 points 2 hours ago* (last edited 2 hours ago)

I don't really have a solution for the whitespace issue, but you could always switch to TOML

[–] TwilightKiddy@scribe.disroot.org 18 points 6 hours ago (1 children)

There were plenty of blanks in their thoughts.

load more comments (1 replies)
load more comments (7 replies)
[–] southsamurai@sh.itjust.works 13 points 6 hours ago

If one ignores the semicolon, it is at their own peril; they're too useful, even when used slightly incorrectly

[–] reader@lemmy.zip 1 points 2 hours ago

technically its called a winkie eye

load more comments
view more: next ›