[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: |
Miles Bader |
Subject: |
Re: proposal to make null string handling more emacs-y |
Date: |
Fri, 27 Apr 2012 07:11:30 +0900 |
Steve Yegge <address@hidden> writes:
> There's a lot of code out there that's forced to do type assertions on
> string args that could be simplified if these common functions could
> accept nils.
Maybe. But I think such changes must be justified on a case-by-case
basis, with convincing use-cases ("in this very common situation, a nil
naturally turns up where a string was expected").
Type-checking catches a lot of bugs, even in "loose" languages like lisp
and end-user-targeted languages like elisp -- and I think the trend is
generally towards _stricter_ checking and less fuzziness, even in
scripting languages.
-miles
--
Egotist, n. A person of low taste, more interested in himself than in me.
- Re: proposal to make null string handling more emacs-y, (continued)
- Re: proposal to make null string handling more emacs-y, Helmut Eller, 2012/04/25
- Re: proposal to make null string handling more emacs-y, Eli Zaretskii, 2012/04/25
- Re: proposal to make null string handling more emacs-y, Stefan Monnier, 2012/04/25
- Re: proposal to make null string handling more emacs-y, Eli Zaretskii, 2012/04/25
- Re: proposal to make null string handling more emacs-y, Stefan Monnier, 2012/04/25
- Re: proposal to make null string handling more emacs-y, Miles Bader, 2012/04/25
- Re: proposal to make null string handling more emacs-y, Andreas Schwab, 2012/04/25
- Re: proposal to make null string handling more emacs-y, Juanma Barranquero, 2012/04/25
- Re: proposal to make null string handling more emacs-y, Steve Yegge, 2012/04/26
- Re: proposal to make null string handling more emacs-y,
Miles Bader <=
- Re: proposal to make null string handling more emacs-y, Steve Yegge, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Miles Bader, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Jeremiah Dodds, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Miles Bader, 2012/04/26
- Re: proposal to make null string handling more emacs-y, Jeremiah Dodds, 2012/04/27
- Re: proposal to make null string handling more emacs-y, Miles Bader, 2012/04/27
- Re: proposal to make null string handling more emacs-y, Thien-Thi Nguyen, 2012/04/27
- Re: proposal to make null string handling more emacs-y, Nix, 2012/04/27
- Better startup error handling (was: proposal to make null string handling more emacs-y), Stefan Monnier, 2012/04/27
- Re: Better startup error handling, Nix, 2012/04/28