[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: constant `e'

From: Alan Mackenzie
Subject: Re: constant `e'
Date: 10 Feb 2007 13:43:30 +0100
Date: Sat, 10 Feb 2007 13:57:53 +0000
User-agent: Mutt/1.5.9i

Hi, Daniel

On Sat, Feb 10, 2007 at 12:35:30PM +0100, Daniel Brockman wrote:

[ .... ]

> Incidentally, I also think `(not (null n))' looks better than `n' ---
> as do, I believe, most Emacs Lisp programmers.

I disagree with you on both counts.  When I see `(not (null n))', it
takes extra effort mentally to filter out what, to me, is just noise.

> Take a look at this code:

>   (cond (n
>          (bongo-mark-line-forward (prefix-numeric-value n)))
>         ((bongo-region-active-p)
>          (bongo-mark-region (region-beginning) (region-end)))
>         (t
>          (bongo-mark-line-forward)))

> It's ugly, isn't it?  It's not just that `(not (null n))' is
> semantically clearer than a lone `n'; it's also more beautiful.

It's more alliterative, perhaps.  But it feels like I'm being talked down
to - the programmer is saying, in effect "you probably don't understand
Lisp very well, so I'll make it very very clear".

[ .... ]

> -- 
> Daniel Brockman <address@hidden>

Alan Mackenzie (Ittersbach, Germany).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]