514
you are viewing a single comment's thread
view the rest of the comments
[-] bigfondue@lemmy.world 2 points 4 weeks ago

Yea, and CLOS is pretty weird, with putting methods outside the class definition.

[-] Zak@lemmy.world 1 points 4 weeks ago

You don't even need to define a class to define methods. I'm sure that's surprising to people coming from today's popular language, but the original comment was about syntax.

Whether Lisp syntax is ugly is a matter of taste, but it's objectively not unreadable.

[-] bigfondue@lemmy.world 3 points 4 weeks ago* (last edited 4 weeks ago)

Where you can define a method is syntax

[-] Zak@lemmy.world 1 points 3 weeks ago

In most languages, I would agree with that. In Lisp, I think I might not. If Common Lisp didn't come with CLOS, you could implement it as a library, and that is not true of the object systems of the vast majority of languages.

this post was submitted on 17 Dec 2025
514 points (95.9% liked)

Programmer Humor

28465 readers
2287 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