|
From: | Kevin Rodgers |
Subject: | bug#8667: 24.0.50; `bounds-of-thing-at-point' returns (N . N) for `comment' |
Date: | Thu, 12 May 2011 23:56:09 -0600 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 |
On 5/12/11 9:00 PM, Drew Adams wrote:
- (if (and beg real-end (<= beg orig) (<= orig real-end)) - (cons beg real-end)) + (and beg real-end (<= beg orig) (<= orig real-end) + (/= beg read-end) + (cons beg real-end)) and - (if (and real-beg end (<= real-beg orig) (<= orig end)) - (cons real-beg end))) + (and real-beg end (<= real-beg orig) (<= orig end) + (/= real-beg end) + (cons real-beg end)) (Dunno why some people insist on using `(if (and...) singleton)'. It gets in the way of readability and just represents extra noise. Binary `if' is generally an impediment to readability and communicating intention.)
Readability is in the eye of the beholder, intention is in the mind of the author. Personally, I think (if (and...) result) communicates the intent more clearly than (and ... result) -- Kevin Rodgers Denver, Colorado, USA
[Prev in Thread] | Current Thread | [Next in Thread] |