this post was submitted on 27 Mar 2024
47 points (98.0% liked)
chapotraphouse
13473 readers
1 users here now
Banned? DM Wmill to appeal.
No anti-nautilism posts. See: Eco-fascism Primer
Vaush posts go in the_dunk_tank
Dunk posts in general go in the_dunk_tank, not here
Don't post low-hanging fruit here after it gets removed from the_dunk_tank
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
So, you do get used to it. The parentheses aren't any more distracting or pervasive than the mix of parentheses and brackets in C-like languages, they're just more uniform. The big syntax difference is that there are no infix operators, only functions.
So, the macro systems in Lisp and its cousins actually are a lot more powerful than text-manipulating macro systems like C. The reason is that without infix operators, and with the syntax being so regular, the structure of the source code is identical to the code's abstract syntax tree. So your macros can effectively manipulate the AST rather than the not-yet-parsed source code. But I don't even really write macros very often, and I still appreciate the consistent syntax compared to the complexity of something like Rust.