emacs-devel
[Top][All Lists]
Advanced

[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: Thu, 26 Apr 2012 01:41:11 +0900

Stefan Monnier <address@hidden> writes:
> AFAIK he's not suggesting to change that.  He's only suggesting that
> instead of throwing an error some functions should behave as if they had
> received an empty string.  E.g. like (concat "23" nil "45") does.

Also kinda like the old "strlen (NULL) => 0" behavior (and generally,
derefencing a pointer => 0)...

Which was (1) sort of handy in some cases, and (2) really good at
hiding bugs...

-miles

-- 
XML is like violence.  If it doesn't solve your problem, you're not
using enough of it.



reply via email to

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