> All indentation does is tell you that there is a hierarchy of some sort.
As I said, it's not just indented, but also layouted. As a Lisp developer I see a LET and then know that a binding+body structural pattern is following. binding+body and variations of those is used in a bunch of operators.
That's a simple sequence:
1) identify the operator on the left
2) it determines the layout pattern
3) visually apply pattern recognition based on the layout pattern and classify the blocks
Lisp is actually quite well to read, but you have to learn the basic structural patterns for a few days.
The biggest hurdles are mental blocks and prior exposition to other types of syntax systems.
> the coder decides the indentation
He doesn't. Lisp does it. There are indentation rules provided by the development environment. If Lisp does the layout, it uses a complex layout system to adjust the code to the available horizontal space, taking into account the constructs to layout. That's why Lisp developers use these indentation and layout tools for decades.
Lisp code itself is fully insensitive to formatting. Tools (editor, Lisp, ...) do the indenting and sometimes also the layouting for the user.
> Using curly braces, parenthesis, and square brackets as an example, you spot them and immediately know the forest-level category something is: code block, function call, or array/structure index.
Lisp uses symbolic names for that. People are extremely good at reading names. Since Lisp names are always at the beginning of a form, there is no guess/backtracking needed to find out the most top-level form. Where as with languages with infix operators I would need to parse the whole thing, finding out the operators and select the one with the highest precedence.
> With Lisp, all you are guaranteed have is the function name (first parameter), which you have to do a mental name-to-purpose lookup, which could involve thousands of names. Splitting the lookup into levels improves the mental lookup performance, at least in my head.
Lisp has not just functions, but also macros and special operators. Function calls have a fixed syntax and there is not much to understand.
Special operators and macros usually signal with their names the kind of structure and thus the layout expected to follow. For example there are a bunch of macros which begin with WITH- . Those signal this pattern
WITH-
items and property list
BODY
Where 'items and property list' is something like
(name item :option1 value1 :option2 value2 ...)
For example a file will be opened like this:
(with-open-file (stream file :direction :input)
(read stream))
I read WITH-OPEN-FILE and know that it is a WITH- type macro. Then I know the basics of the structure of the code.
Lisp has a number of these built-in patterns.