Hacker News new | ask | show | jobs
by cptmurphy 22 hours ago
Racket is already approachable and easy to use for everyday purposes
2 comments

A lot of people hate sexprs. Even seemingly reasonable folks.

I imagined they have met students that really struggle with the syntax, while grokking the concepts easily.

I myself have heard "the parentheses are hard to balance" and "after a while you dont even see the parentheses" enough times that I think maybe both can be correct.

> A lot of people hate sexprs

In all my time I have never come across a single Lisper, neither in person nor online, and I know far more than a few dozens, who once grokked the REPL-driven workflow and the structural editing idioms only to later, for whatever reason, suddenly start disliking or even hating s-expressions.

All that so-called "hatred" stems from unfamiliarity. People fuss about Lisps lacking static types, without a single clue about how a "true" REPL trades them off for something different. They compare it to a Python or C# REPL and think "it ain't a big deal". Well, the Lisp REPL is quite different, and yes, a major deal - every single part of the Read-Eval-Print-Loop differs. They complain about "hard to deal with parentheses" and "I can't refactor without types" while having no clue how amazingly nice structural editing is in practice, that you never even think about parens - you only see structure, order and reason.

well, i guess i know what the grandparent was talking about when they said 'I myself have heard [...] "after a while you dont even see the parentheses" enough times [...]'. Thanks for the example.
My editor balances my parentheses (Emacs Paredit). I rarely think about them. I just think structurally and the editor manages the details.
It really feels like, "when I move through the wasteland, I only focus on the path and GPS is guiding me well".

For some reasons, people tend to prefer having a walk in a forest rather than in z wasteland.

For you, perhaps. I've never been able to get into lisp style sexpr syntax languages :'(
)

There matched your paren for you.