[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: proposal to make null string handling more emacs-y
From: |
Eli Barzilay |
Subject: |
Re: proposal to make null string handling more emacs-y |
Date: |
Sat, 28 Apr 2012 07:13:16 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Richard Stallman <address@hidden> writes:
>
> I'm really really happy that Emacs Lisp isn't Scheme-like. Stuff like
>
> (assq 'foo bar) ⇒ #f
>
> would just drive me totally batty.
>
> I think splitting apart the different meanings of nil in Lisp was an
> unfortunate mistake in Scheme. This sort of cleanliness is only
> desirable theoretically, not in practice.
As a (semi-fake) "Schemer", I can say that it's perfectly fine in
practice too. It catches real errors. In analogy to what you wrote a
few seconds later -- it catches errors that would otherwise get
papered over.
There's obviously a subjective line here, where Elisp and Scheme are
going in different directions, and IIUC, Steve's point is that "" =~
nil is continuing in the same direction that elisp already went to.
(But of course the question is how far you're willing to go, otherwise
you end up with "wat".)
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!
- Re: Better startup error handling, (continued)
- Re: Better startup error handling, Nix, 2012/04/28
- Re: Better startup error handling, Stefan Monnier, 2012/04/28
- Re: Better startup error handling, David Engster, 2012/04/28
- RE: Better startup error handling, Drew Adams, 2012/04/28
- Re: Better startup error handling, Stefan Monnier, 2012/04/28
- Re: Better startup error handling, Lars Magne Ingebrigtsen, 2012/04/28
- Re: proposal to make null string handling more emacs-y, Richard Stallman, 2012/04/27
- Re: proposal to make null string handling more emacs-y, Stefan Monnier, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Lars Magne Ingebrigtsen, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Richard Stallman, 2012/04/27
- Re: proposal to make null string handling more emacs-y,
Eli Barzilay <=
- Re: proposal to make null string handling more emacs-y, Richard Stallman, 2012/04/28
- Re: proposal to make null string handling more emacs-y, Stefan Monnier, 2012/04/28
- Re: proposal to make null string handling more emacs-y, Eli Barzilay, 2012/04/28
- Re: proposal to make null string handling more emacs-y, Steve Yegge, 2012/04/27
- Re: proposal to make null string handling more emacs-y, Eli Zaretskii, 2012/04/27
- Re: proposal to make null string handling more emacs-y, Steve Yegge, 2012/04/27
- RE: proposal to make null string handling more emacs-y, Drew Adams, 2012/04/27
- Re: proposal to make null string handling more emacs-y, Steve Yegge, 2012/04/28
- Re: proposal to make null string handling more emacs-y, Andreas Schwab, 2012/04/28
- Odd formatting (was: proposal to make null string handling more emacs-y), Lars Magne Ingebrigtsen, 2012/04/29