3 ms·
That’s what indentation is for. Parsed at a different level by your brain.
by gumby 4y ago
That’s what indentation is for. Parsed at a different level by your brain.
- AnimalMuppet 4y agoI've seen too much over the years. I've seen indentations be a lie. I've seen indentations get mangled because someone's editor is set to use tabs instead of spaces, or vice versa. I can only halfway trust the indentation, but the curlies don't lie.
- galaxyLogic 4y agoThat would be like Python where the indentation defines the syntax of your program., right? But the jury is still out whether using indentations instead of syntactic markers is a good choice for a programming language.
- gumby 4y agoYes, though the parens are important. In fact grinders (code formatters) are quite commonly used in Lisp, so the indentation is just instruction to the programmer; it has no semantic value to the interpreter or compiler.