Follow

Something that @AlexKnauth, @ArneBab, and I have been slowly working on: yet another lisp syntax that removes the parentheses called Wraith: github.com/cwebber/racket2-rfc

Still in progress but it looks fairly natural I think, and preserves the better parts of Lisp.

· · Web · 2 · 3 · 4
@cwebber @ArneBab Interesting one there is that I would probably pick the original version with parenthesis because I'm not a fan of indentation-as-a-syntax (and I'm no a lisper… yet, I ended up embracing the heavy use of brackets&parenthesis though).
Maybe it would be worth it to add something like a semicolons that could be ignored for ~everything but formatting, linting and finding where someone badly closed their blocks?

@lanodan @cwebber Such semicolons would mean that you intentionally add pure line-noise.

@ArneBab @cwebber Not really, language-redundancy like semicolons are good for good error-detection.
It's basically what allows the difference between "mismatched parenthesis" and "Here, you forgot an argument".

@lanodan @cwebber I used to think that commas between arguments are a good idea — I knew them from Python. But since I switched to Scheme I more and more think that I was wrong with that.

So I disagree about the language redundancy. There’s a lot of semantic information that allows to distinguish between "mismatched paren" and "missing argument" without adding noise that clogs the mind with required processing to ignore it.

Also my reason why I don’t like too many parens :-)

@lanodan @cwebber (though that depends on the semantics of the language. With a language like Javascript where you can always leave out arguments that are then implicitly undefined, help by the compiler/interpreter via semantics is harder, so you might actually need additional line noise)

@cwebber @AlexKnauth @ArneBab Are there really many people who reject Lisp because of the parentheses?

xkcd.com/297/

Sign in to participate in the conversation
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!