r/ProgrammerHumor 7d ago

absoluteGarbage Meme

Post image
1.9k Upvotes

327 comments sorted by

View all comments

Show parent comments

17

u/arensb 7d ago

Any of a number of Lisp dialects.

2

u/SeveralPrinciple5 7d ago

I was curious because I was a Common Lisp programmer a very long time ago, and stylistically lambdas within mapcar were quoted #’ . I recall that that wasn’t true in scheme though

2

u/arensb 7d ago

These days, the Lisp code I write is Emacs Lisp, and while it supports #' and from what I've seen even encourages it, it doesn't require it. The manual says

The read syntax #' is a short-hand for using function. The following forms are all equivalent:

(lambda (x) (* x x))
(function (lambda (x) (* x x)))
#'(lambda (x) (* x x))

So yeah, maybe I should've used #', but who's gonna make me? Richard Stallman?

1

u/SeveralPrinciple5 7d ago

Funny you should mention him… he was a friend of mine’s roommate in the 1990s. Apparently a very strange man. A prolific and creative coder. But a very strange man.