this post was submitted on 10 Sep 2025
281 points (98.0% liked)

Programmer Humor

26265 readers
730 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] felsiq@piefed.zip 39 points 1 day ago (2 children)

Lisp uses it, with the fun extra part that operators are just normal functions - so instead of foo(bar) you get (foo bar), or for operators 1+1+2 becomes (+ 1 1 2). It’s a really fun language even just for being different than most, I def recommend playing around with it if you’re looking for something new.

[–] BennyInc@feddit.org 40 points 1 day ago (2 children)

The fun part comes from using it without syntax highlighting, so you can regularly play „find the missing paranthesis“.

[–] felsiq@piefed.zip 27 points 1 day ago

My lisp days were back in my “IDEs are bloat” phase so that’s the only way I ever interacted with it lmao

[–] AnUnusualRelic@lemmy.world 7 points 1 day ago

Editing lisp with ed is the best way to learn it.

[–] Mika@piefed.ca 12 points 1 day ago (1 children)

The most interesting part about Lisp is homoiconicity:

(+ 1 1 2) is literally a list with symbol "+" and 3 numbers.

Which allows to build the most powerful macro possible, manipulating code (with data as a tree-like structures) and changing it into whatever else at compile time.

Now if only there was any good use for macros, this would be the best language 🙃

[–] RecallMadness@lemmy.nz 10 points 1 day ago (1 children)

Threading is a great case for a macro.

(-> x (* 2) (/ 3) (- 1))

Is the same as (- (/ (* x 2) 3) 1)

[–] Mika@piefed.ca 1 points 1 day ago (1 children)

Sure it's not like it has no uses, but it's something languages have built-in as syntax sugar or operators, and you rarely need to built your own macro for anything.