[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: e and pi
From: |
Drew Adams |
Subject: |
RE: e and pi |
Date: |
Sat, 18 Sep 2010 17:57:30 -0700 |
> The point is not whether `e' is being bound in a let or a defun.
Correct. The point is that one should easily be able to know which `e' is
involved at any point. In particular (see the Subject), a global variable
(constant) intended to represent a math constant should have a global name that
proclaims that unambiguously: "I'm a global math constant".
> Rather, the point is that we should be able to use a variable like `e' as
> a free variable in a closure.
No, that is a completely separate point - not the point of this thread. Or at
least it should not be, even if lexical binding might be one way to circumvent
the `e' constant naming issue (without actually addressing and solving it
properly).
To see this, just substitute `x' or `frobfroth' for `e' in your last sentence
above. Your point remains. It is a valid point, but it is independent of the
question about the math constant `e'.
> We can do so only if it is governed by lexical binding.
Right.
So let's start another thread to sing hurrahs for the possibility of easier and
clearer lexical binding in Emacs. It's just (logically) a different question
than that of poorly named constants `e' and `pi'.
- Re: e and pi, (continued)
- RE: e and pi, Drew Adams, 2010/09/18
- Re: e and pi, Stefan Monnier, 2010/09/17
- Re: e and pi, Chong Yidong, 2010/09/17
- Re: e and pi, Stefan Monnier, 2010/09/18
- Re: e and pi, Chong Yidong, 2010/09/18
- Re: e and pi, Uday S Reddy, 2010/09/18
- RE: e and pi,
Drew Adams <=
- Re: e and pi, Juanma Barranquero, 2010/09/18
- Re: e and pi, Stefan Monnier, 2010/09/18
- Re: e and pi, Lars Magne Ingebrigtsen, 2010/09/18
- Re: e and pi, Stefan Monnier, 2010/09/18
- Re: e and pi, Juanma Barranquero, 2010/09/19
- RE: e and pi, Drew Adams, 2010/09/17
- Re: e and pi, tomas, 2010/09/18
- Re: e and pi, David Kastrup, 2010/09/18
- Re: e and pi, tomas, 2010/09/19
- Re: e and pi, Uday S Reddy, 2010/09/17