Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.lisp > #59454

Re: History of lexical scope in Lisp

From Robert Brown <robert.brown@gmail.com>
Newsgroups comp.lang.lisp
Subject Re: History of lexical scope in Lisp
Date 2024-03-15 20:23 -0400
Organization A noiseless patient Spider
Message-ID <871q8bja7c.fsf@gmail.com> (permalink)
References <874jd7z5nf.fsf@nightsong.com>

Show all headers | View raw


Paul Rubin <no.email@nospam.invalid> writes:

> Is it really true that Common Lisp had both lexical and dynamic scope
> in order to support older code that was written relying on dynamic
> scope and was too hard to convert?

No.  I'd say Common Lisp has both lexical and dynamic scope because both
are very useful.  For instance, the Guice dependency injection framework
for Java implements @RequestScoped settings, which are dynamically
scoped and thread local.  Guice wouldn't need that feature if Java
natively supported dynamically-scoped variables.

Back to comp.lang.lisp | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

History of lexical scope in Lisp Paul Rubin <no.email@nospam.invalid> - 2024-03-15 11:55 -0700
  Re: History of lexical scope in Lisp Jeff Barnett <jbb@notatt.com> - 2024-03-15 16:05 -0600
    Re: History of lexical scope in Lisp Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-03-15 22:26 +0000
      Re: History of lexical scope in Lisp Kaz Kylheku <433-929-6894@kylheku.com> - 2024-03-15 23:04 +0000
      Re: History of lexical scope in Lisp Jeff Barnett <jbb@notatt.com> - 2024-03-16 00:46 -0600
        Re: History of lexical scope in Lisp Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-03-16 07:27 +0000
          Re: History of lexical scope in Lisp Jeff Barnett <jbb@notatt.com> - 2024-03-16 23:13 -0600
            Re: History of lexical scope in Lisp Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-03-17 05:37 +0000
              Re: History of lexical scope in Lisp Jeff Barnett <jbb@notatt.com> - 2024-03-17 16:42 -0600
                Re: History of lexical scope in Lisp Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-03-17 23:05 +0000
                Re: History of lexical scope in Lisp Jeff Barnett <jbb@notatt.com> - 2024-03-18 23:02 -0600
                Re: History of lexical scope in Lisp Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-03-19 05:44 +0000
                Re: History of lexical scope in Lisp albert@spenarnc.xs4all.nl - 2024-03-18 14:47 +0100
                Re: History of lexical scope in Lisp Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-03-18 19:51 +0000
                Re: History of lexical scope in Lisp George Neuner <gneuner2@comcast.net> - 2024-03-18 20:33 -0400
        Re: History of lexical scope in Lisp Kaz Kylheku <433-929-6894@kylheku.com> - 2024-03-16 16:54 +0000
  Re: History of lexical scope in Lisp Robert Brown <robert.brown@gmail.com> - 2024-03-15 20:23 -0400
    Re: History of lexical scope in Lisp Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-03-16 01:03 +0000
      Re: History of lexical scope in Lisp Robert Brown <robert.brown@gmail.com> - 2024-03-16 11:32 -0400
        Re: History of lexical scope in Lisp Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-03-16 21:59 +0000
  Re: History of lexical scope in Lisp Kaz Kylheku <433-929-6894@kylheku.com> - 2024-03-16 02:37 +0000
  Re: History of lexical scope in Lisp  Didier Verna <didier@didierverna.net> - 2024-03-17 10:41 +0100
    Re: History of lexical scope in Lisp Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-03-17 21:12 +0000
  Re: History of lexical scope in Lisp Johanne Fairchild <jfairchild@tudado.org> - 2024-03-19 06:07 -0300

csiph-web