this post was submitted on 17 Dec 2025
478 points (96.1% liked)

Programmer Humor

27933 readers
635 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 2 years ago
MODERATORS
 
(page 2) 50 comments
sorted by: hot top controversial new old
[–] 30p87@feddit.org 29 points 2 days ago (84 children)

Almost any language is OK, but Rust is just so, so fucking ugly

[–] firelizzard@programming.dev 42 points 1 day ago (5 children)

Almost any language is ok but some ecosystems make me want to turn into a murder hobo (looking at you, JavaScript).

load more comments (5 replies)
[–] asdfasdfasdf@lemmy.world 42 points 1 day ago (11 children)

Hard disagree. Super beautiful.

load more comments (11 replies)
[–] LiveLM@lemmy.zip 11 points 1 day ago (4 children)

Go look at that Lisp kojumbo then tell me Rust is ugly.

(defmethod wake ((object magic-packet) address port)
  (let* ((payload (encode-payload object))
         (size (length payload))
         (socket (usocket:socket-connect nil nil :protocol :datagram :element-type '(unsigned-byte 8))))
    (setf (usocket:socket-option socket :broadcast) t)
    (usocket:socket-send socket payload size :host address :port port)
    (usocket:socket-close socket)))

Actually unreadable.

[–] bigfondue@lemmy.world 7 points 1 day ago* (last edited 1 day ago)

Maybe Emacs has fried my brain, but that is perfectly readable. Common Lisp has one of the most advanced object systems around, so yea you can write hard to read stuff if you want

[–] Zak@lemmy.world 4 points 1 day ago (6 children)

Entirely readable to someone who knows Common Lisp, and unreadable to someone who doesn't know any kind of Lisp. Mostly readable to someone who knows Emacs Lisp, Clojure, or Scheme.

Being able to correctly guess what the syntax does without knowing the language is a function of similarity to familiar languages more often than it is a characteristic of the syntax itself.

load more comments (6 replies)
load more comments (2 replies)
[–] tomenzgg@midwest.social 4 points 1 day ago (1 children)

Not to stereotype too much but I think this is the first Blåhaj I've seen (in a programming context) that wasn't team Rust.

What your programming language of choice (if you don't mind sharing)?

[–] InternetCitizen2@lemmy.world 4 points 1 day ago (2 children)
[–] CanadaPlus@lemmy.sdf.org 3 points 1 day ago

Shark avatar, though.

[–] tomenzgg@midwest.social 2 points 1 day ago (2 children)

As much as I'd like to think I'm generally in the loop of Lemmy lore, I'm afraid I don't understand the connection.

load more comments (2 replies)
load more comments (80 replies)
load more comments
view more: ‹ prev next ›