3 ms·
What matters on the blackboard (or a book) is "understanding" and that is not affected by a missing paren or two (which is a testament to Lisp's regularity of s
by metroholografix 4y ago
What matters on the blackboard (or a book) is "understanding" and that is not affected by a missing paren or two (which is a testament to Lisp's regularity of syntax).
When they wanted their programs executed by a computer, their editor -Edwin- matched parens, exactly like how one would do it today, or even easier with things like Paredit.
- wrycoder 4y agoAnd if you leave out a paren, the resulting auto-indented structure will look obviously wrong, signalling that you made an error. It's not so obvious in Python when you make an indentation error in a complicated if/elif/else structure.
- kazinator 4y agoIn a language with a sane syntax, we can do this: if (A) { if (A) { B B C --> C } D D E E } Imagine that is 300 lines long and BCDE contain their own nesting and such. We can do a "git diff -w" and just see that the closing brace moved and that there are no changes in D and E. Do the same in Python and "git diff -w" comes up empty.