[Top][All Lists]

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

Re: Should undefined behavior be encouraged in Emacs?

From: Richard Stallman
Subject: Re: Should undefined behavior be encouraged in Emacs?
Date: Mon, 03 Oct 2011 21:55:14 -0400

    > In simple cases such as (goto-char -5), users tend to see what the
    > behavior is, and are likely to write code that depends on it, even if
    > it isn't documented.  Thus, leaving it undocumented doesn't mean that
    > we can change it and nobody will notice.

    If you make it a hard, inescapable error, that won't happen.

That is true; this would pressure everyone to carefully make sure not
to supply out-of-range arguments.  But is that goal really more
desirable than the convenience of rounding out-of-range arguments?

Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use free telephony http://directory.fsf.org/category/tel/

reply via email to

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