Unofficial Hacker News companion — get notified on comment replies, and more.

Chez from a Clojurian perspective (opens external site)

101 points by pushpankar 3 days ago | get-aksh.com | 61 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (5)

  1. Somehow, I always had the feeling that emacs lisp is tied closely to emacs only.

    - How is the performance of emacs lisp?

    - In terms of feature set, is it close scheme or common lisp?

    - Any feature/concept that would be new to programmer who know scheme, clojure, and python

    If i am ever going to try a new language, it would need a good ide. I know people say they don't need ide, since AI make changes, but I still need one to review code. I can't simply look at diff and understand. I need to see actual code. I guess emacs lisp will have good ide support, otherwise it would be ironical.

    Replies (2)
    1. Emacs lisp is closer to common lisp. It inherits some stuff from older lisp systems, the most prominent being dynamic scope by default.
      Replies (2)
      1. Some clarifications:

        Common Lisp uses lexical binding for locals by default. (I think you meant this, but the wording seems ambiguous to me on whether “older Lisp systems” means “older than Common Lisp” or “older in general, including Common Lisp which is itself old”, so I wanted to say it more explicitly.)

        Emacs Lisp is currently expecting to switch in the future from dynamic binding by default to lexical binding by default, which is why lots of Emacs users are getting the current transitional flood of annoying warnings about elisp files that don't have the expected “lexical-binding: ‹boolean›” metadata at the top. And yes, that cookie is a reuse of the “set some local state for buffers visiting this file” mechanism, more commonly used for things like major mode and fill column (expected line length), for programming language dialect switching!

        Here's the node about this in the current online version of the official manual: https://www.gnu.org/software/emacs/manual/html_node/elisp/Se...

      2. > being dynamic scope by default

        I don't know why this crap still keeps circulating in 2026 (almost 2027). I personally never had a single problem with that point - been using Emacs and publishing packages for a decade.

        Lexical binding arrived in Emacs 24, released in June 2012.

    2. Emacs Lisp is closely tied to Emacs. But because Emacs is from the good old days, when you are in Emacs you can have a shell into your OS.

      If you know Scheme and Clojure, you kind of already know lisp.

      The best Lisp IDE's are probably commercial products at good old days prices inconsistent with the expectations of most of today's learners...those prices don't compete with free.