GNU bug report logs - #40671
[DOC] modify literal objects

Previous Next

Package: emacs;

Reported by: Kevin Vigouroux <ke.vigouroux <at> laposte.net>

Date: Thu, 16 Apr 2020 20:40:02 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #402 received at 40671 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>, Dmitry Gutov <dgutov <at> yandex.ru>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>,
 Mattias EngdegÄrd <mattiase <at> acm.org>, 40671 <at> debbugs.gnu.org,
 Richard Stallman <rms <at> gnu.org>, ke.vigouroux <at> laposte.net
Subject: RE: bug#40671: [DOC] modify literal objects
Date: Tue, 5 May 2020 10:40:59 -0700 (PDT)
Apologies for chiming in here again.
And I haven't read the proposed text or
followed the thread recently.

But I just saw "Dangerous Mutations".

I really don't think that it's helpful or
appropriate to speak of danger in the context
of the gotcha we've been discussing.

Danger is danger.  Yes, with undefined behavior,
and with possible modification of list structure
etc., there is the possibility of loss of data,
and that's not a good thing.  Undefined is scary.

But I'm not in favor of crying "DANGER" about
such things.  At all.

Check the Common Lisp doc.  You don't find
such screaming warnings plastered throughout,
whenever it comes to destructive modification.

The word "destructive" is sufficiently strong.
And in the case of the gotchas being discussed
it's not necessarily even destructive
modification.  The unknown/undefined is just
that.  No need (and inappropriate) to wrap it
DANGEROUS!

Just one opinion.




This bug report was last modified 5 years and 56 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.