Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Dangling Closing Parentheses vs. Stacked Closing Parentheses
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Gareth McCaughan  
View profile  
 More options Mar 28 2000, 3:00 am
Newsgroups: comp.lang.lisp
From: Gareth McCaughan <Gareth.McCaug...@pobox.com>
Date: 2000/03/28
Subject: Re: Dangling Closing Parentheses vs. Stacked Closing Parentheses
Fernando D. Mato Mira wrote:

[I said:]

>>                     They make it harder, not easier, to
>> tell what the line saying "result" is meant to be lined up
>> with, because my eyes aren't so good at checking alignment
>> over a distance of 6 lines as they are over a distance
>> of 4 lines. They don't serve to break up the code at
>> meaningful places; they don't clarify the code; they
>> are, as I say, pure noise.

> Is it just the distance? What about this:

> (defun build-upward-closures ()
>   (loop for k from *maxplay* downto 0 do
>     (setf (aref *upward-closures* k)
>           (let ((result (ash 1 k)))
>             (loop for i from 0 below *n* do
>               (let ((k1 (logior k (ash 1 i))))
>                 (when (> k1 k)
>                   (setf result (logior result (aref *upward-closures* k1))))))

>             result))))

> Floats 1 position to the right, but I don't get the same "Where the
> _heck_ does this go?" feel.

It's no easier for me than the version with intervening
rparens. I think it's just a matter of the distance.

--
Gareth McCaughan  Gareth.McCaug...@pobox.com
sig under construction


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.