Deutsch   English   Français   Italiano  
<ut54ne$33m2r$5@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.lang.lisp
Subject: Re: History of lexical scope in Lisp
Date: Sat, 16 Mar 2024 21:59:10 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <ut54ne$33m2r$5@dont-email.me>
References: <874jd7z5nf.fsf@nightsong.com> <871q8bja7c.fsf@gmail.com>
	<ut2r5n$2i048$4@dont-email.me> <87il1mgpk1.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 16 Mar 2024 21:59:10 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f7920a21ec63febd4cd65eac0ef9a9b4";
	logging-data="3266651"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18bHHAE3J7EyI3amDKe3gDR"
User-Agent: Pan/0.155 (Kherson; fc5a80b8)
Cancel-Lock: sha1:E59pZmPgi+G4vLRkTJH9o3PmK9M=
Bytes: 1903

On Sat, 16 Mar 2024 11:32:46 -0400, Robert Brown wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> writes:
> 
>> On Fri, 15 Mar 2024 20:23:51 -0400, Robert Brown wrote:
>>
>>> For instance, the Guice dependency injection framework for Java
>>> implements @RequestScoped settings, which are dynamically scoped and
>>> thread local.
>>
>> Can’t find any mention of “dynamic” scoping in the docs
>> <https://github.com/google/guice/wiki/Scopes>. “@RequestScoped” just
>> seems to mean what it says: the scope is per-request.
> 
> The use of thread local state to store request scoped Guice bindings is
> discussed in this thread:
> 
> https://groups.google.com/g/google-guice/c/gDonVGO1wjY/m/_SSi4CcQAJYJ

You mean the commenter who says “I'm not saying this is
often (or even ever) a good thing to do; I'm just illustrating the
technique”?