News for hackers. Stuff that matters.
Re:An Intuition for Lisp Syntax (2020) by db48x on Sunday August 28, 2022 @05:29PM (#32632242)
It is very common for programmers who are new to Lisp to close their parentheses in the former style. However, it is a crutch that they soon do away with if they stick to the language for any length of time.
Re:An Intuition for Lisp Syntax (2020) by lispm on Sunday August 28, 2022 @06:01PM (#32632511)
There are two reasons why sometimes the parentheses are on a separate line:

  ((paris (french))
   (los-angeles (english spanish))
   )
Something like above would be used if one often adds data clauses to that expression.

Also when there are comments on the last line, then sometimes the expression might be closed on the following like:

  ((paris (french))                 ; city 1
   (los-angeles (english spanish))  ; city 2
   )