[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record
From: |
Stefan Monnier |
Subject: |
Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types. |
Date: |
Thu, 14 Dec 2017 09:12:44 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> I'm just really puzzled by all the strong reactions for a problem that's
>> so% hypothetical,
> It is not hypothetical. I am sure people will define such types in
> their code, and get screwed.
[ Just because you're convinced it will happen doesn't make it less
hypothetical. AFAICT it has never happened so far. ]
The 20 years of experience with cl.el's defstruct, plus the 10 years of
experience with eieio's defclass seem to disagree.
> Since we agree that defining these symbols as record types should not
> be done, let's make it easier for programmers to avoid doing that.
I won't get in the way of someone else doing that, *as long as* it's
done via compilation-time (or even load-time) checks rather than
run-time checks (i.e. not in make-record).
Stefan
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., (continued)
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Stefan Monnier, 2017/12/12
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Sam Steingold, 2017/12/13
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Stefan Monnier, 2017/12/13
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Richard Stallman, 2017/12/13
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Stefan Monnier, 2017/12/14
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Stefan Monnier, 2017/12/12
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Noam Postavsky, 2017/12/12
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Stefan Monnier, 2017/12/12
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Stephen Leake, 2017/12/13
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Richard Stallman, 2017/12/13
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types.,
Stefan Monnier <=
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Richard Stallman, 2017/12/14
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Richard Stallman, 2017/12/14
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Philipp Stephani, 2017/12/21
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Stefan Monnier, 2017/12/21
- Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Richard Stallman, 2017/12/22
- [SUSPECTED SPAM] Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Stefan Monnier, 2017/12/22
- Re: [SUSPECTED SPAM] Re: [PATCH] * etc/NEWS: Document incompatibilities introduced by record types., Richard Stallman, 2017/12/23
- make-record, Richard Stallman, 2017/12/23
- Re: make-record, Stefan Monnier, 2017/12/23
- Re: make-record, Richard Stallman, 2017/12/24