[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: code review request for saveplace with dired buffer
From: |
Karl Fogel |
Subject: |
Re: code review request for saveplace with dired buffer |
Date: |
Fri, 07 Jun 2013 17:20:37 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Drew Adams <address@hidden> writes:
>A Common Lisp convention is to use `when' and `unless' when the return
>value is not important. It communicates to a (human) reader that the
>body is for side effects only.
>
>I, for one, use this same convention with Emacs Lisp. I consider code
>that depends on the return value of `when' or `unless' to be bad style
>(misleading). Some will disagree, no doubt.
Thanks -- that's a nice guideline, and I'll try to remember it too.