Re: parens and clarity:
Anyone who’s ever programmed in Lisp can tell you that it’s not impossible to write a confusing expression using parentheses. My last post was a special case of a more general idea, which I’m summarizing as “code unambiguously.” That is, if 10 people read your code, they should all come away with the same idea of what it does, and they shouldn’t have to spend 10 minutes with pencil and paper writing state machines in order to do so. If your reader has to stop and puzzle over the meaning of your code, there’s something wrong with the code.

 

Advertisements