From ... From: Erik Naggum Subject: Re: Dangling Closing Parentheses vs. Stacked Closing Parentheses Date: 2000/03/28 Message-ID: <3163274599898094@naggum.no>#1/1 X-Deja-AN: 603656582 References: <38DBE821.F64C2B22@genworks.com> <3163031395198264@naggum.no> <8bneig$6s8$4@ssauraaa-i-1.production.compuserve.com> mail-copies-to: never Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsmaster@eunet.no X-Trace: oslo-nntp.eunet.no 954291638 16798 195.0.192.66 (29 Mar 2000 01:00:38 GMT) Organization: Naggum Software; vox: +47 8800 8879; fax: +47 8800 8601; http://www.naggum.no User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 Mime-Version: 1.0 NNTP-Posting-Date: 29 Mar 2000 01:00:38 GMT Newsgroups: comp.lang.lisp * "Anthony Cartmell" | Sorry for the "newbie" question, but I thought that the indentation was | based on the list structure, and not the other way round. well, this gets a little complicated. the indentation is automatically produced for you based on the list structure by the editor. the list structure, however, becomes visually apparent to us humans through indentation. new Lispers look at the list structure and think they understand the indentation. old Lispers look at the indentation and understand the list structure. new Lispers count parentheses and swear. old Lispers reindent their code and immediately spot mistakes and just clean them up. the whole Lisp enlightenment experience is about making a fundamental swap between syntax and indentation. (at least one language has made this switch permanent: python. I'm not sure this is a good thing.) | If the parens were based on the indentation then we wouldn't even need to | use them. this is very naive. _some_ redundancy is a fundamental characteristic of _all_ successful communication, between computers as well as humans. | My whole reason for using dangling parens in my code is to show which | open-paren each close-paren closes by its indentation. I don't | understand why this is such a bad layout style. that's because you have never let yourself get immersed in indentation. you don't need to see the parentheses. (if you start seeing fnords, alert your local illuminati.) #:Erik