Lisp Parentheses Debate

The cluster focuses on discussions about the prevalence and readability of parentheses in Lisp and S-expressions, including criticisms, defenses, and suggestions for alternatives like indentation or minimal parentheses.

📉 Falling 0.4x Programming Languages
4,326
Comments
20
Years Active
5
Top Authors
#4174
Topic ID

Activity Over Time

2007
25
2008
85
2009
92
2010
188
2011
98
2012
141
2013
219
2014
218
2015
233
2016
261
2017
369
2018
284
2019
335
2020
269
2021
244
2022
388
2023
321
2024
283
2025
264
2026
9

Keywords

LET e.g IMO DSL parcil.lisp LISP APL BCPL chriswarbo.net CPL parentheses lisp expressions syntax code def editing language languages expression

Sample Comments

time_management Dec 14, 2008 View on HN

Even if you're not allowing macros and code-as-data, you may want to consider Lisp-style S-expressions. It doesn't take long to get used to the parentheses, especially given that good Lisp code uses indentation to such an extent that most of the parentheses "disappear" for a human reader.

leke Aug 6, 2023 View on HN

Are there any popular lisps without parentheses or at least with minimal parentheses?

phforms May 23, 2024 View on HN

I know a lot of people think that you write more parentheses in Lispy languages, but actually in most cases you just type them in a different order, e.g. instead of `foo(x, y)` to call a function, you type `(foo x y)` and you even save a comma.Of course, there are constructs such as `let` and `cond` that are more parenthetically noisy (not so much in Clojure though), but on the flip side you don’t have to remember a lot of special syntax like in non-lisp languages.Most Lisp-people also use

LettuceSand12 Apr 1, 2024 View on HN

A lisp that didn’t spam parentheses would probably be more palatable.

estebarb Dec 9, 2019 View on HN

And some people says that lisp like languages use too much parenthesis...

goto11 Oct 8, 2020 View on HN

Parentheses in Lisp is like significant whitespace in Python: A big stumbling block for people who don't use the language.

nerdponx Sep 1, 2021 View on HN

I think that for most people, s-expressions are harder to deal with than curly braces and begin/end.1. Non-Lisp languages have fewer braces in general due to the presence of non-expression "statements" and infix operators, while in Lisp nearly everything is an s-expression. Common Lisp in particular has a lot of double parens, so even a garden-variety LET form already has _three_ levels of parens, or four when you have a function call involved: (let ((x (foo :a

jolux Mar 14, 2021 View on HN

It's pretty close to Lisp without parentheses.

readthenotes1 May 7, 2023 View on HN

"I like lisps syntactically"and yet, not a single parentheses in your text. Disappointed.

epse Dec 29, 2018 View on HN

And lisp, just less parentheses