r/Clojure • u/fredoverflow • Sep 10 '25
page 35: The most commonly anticipated problem is unfamiliar syntax, “dealing with all those parentheses”
153
Upvotes
r/Clojure • u/fredoverflow • Sep 10 '25
5
u/divad1196 Sep 10 '25
It's true that this exemple here happens.
It's (almost) the same thing when people want
x.myfunc(..)instead of `myfunc(x, ...). The difference might be completion/namespacing which helps on an IDE.But, while there are no objective reason to prefer
f(x)over(f x)and that people just got used to one way, we cannot deny that languages using the latter syntax are usually FP and use a lot more functions. This results in more parentheses.Correlation is not causality: languages that are blamed for using a lot of parenthesis are in fact languages that extensively use FP, the syntax being different is quickly noticed and designed as the culprit.
2
u/jd_hollis Sep 11 '25
The key to working effectively with a Lisp is structural editing. With an editor that supports it, the parens fade into the background. Whenever I’ve taught someone new to Lisp, once they learn structural editing, they get over the syntax.
1
u/Raagun Sep 11 '25
Could not get the joke until saw which sub it was. Good one :D Thought its some math joke I dont get
-23
u/TheLastSock Sep 10 '25
I would avoid using that comic unless what you're looking for is an uncomfortable conversation.
0
u/jonathancast Sep 11 '25
Both syntaxes deserve the HR call for making parentheses semantically significant.
-18
u/cap10morgan Sep 10 '25
Yeah let’s retire this comic. It only serves to reinforce a lazy myth about women feeling comfortable in the workplace (which is a pretty reasonable thing to ask for).