Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sexpr makes expressions easier for computers to parse. That is all there is to it. Other languages focuses more on making code easier for humans to parse. Both are good for different things.


Lisp and s-expressions are two different things. In particular, there are various alternative syntaces for Lisp, which we can automatically convert between (e.g. via a pre-processor, or a reader macro), e.g

https://readable.sourceforge.io

https://www.dwheeler.com/readable/sweet-expressions.html

https://srfi.schemers.org/srfi-49/srfi-49.html

https://srfi.schemers.org/srfi-119/srfi-119.html


But your editor is also a "computer". Editing lisp code with an editor tuned to s-expressions can be pure joy. Most programmers work at the character level of text files, many lispers work much closer to the abstract syntaxt tree (AST).


> Sexpr makes expressions easier for computers to parse. That is all there is to it.

I would _strenuously_ disagree with that claim, but as previously stated I find the explanation of why I disagree to be surprisingly difficult to articulate. Nonetheless, I find that in practice sexprs are an incredibly effective tool for the task of programming as a whole.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: