|
From: | Philippe Vaucher |
Subject: | Re: Emacs 26.1 release branch created |
Date: | Thu, 28 Sep 2017 09:42:26 +0200 |
> I think this is the wrong way to approach this. What counts here are the
> benefits: by avoiding global mutable state we make code that is easier to
> reason about, easier to test, etc.
What about the costs? Emacs has a large state, including variable
numbers of buffers, variable variables (libraries can be loaded at any
time), variable properties and text properties, ....
What you're asserting, I think, is that there is a better way to house
this state rather than "globally". No details of this other way have
been forthcoming.
> There is simply no real argument for using global mutable state when we can
> avoid it, .....
I suspect that in Emacs we can't. Or if we could, it would be at too
great a cost.
[Prev in Thread] | Current Thread | [Next in Thread] |