[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Closures - do you understand them well?
From: |
tomas |
Subject: |
Re: Closures - do you understand them well? |
Date: |
Mon, 27 Feb 2023 09:33:47 +0100 |
On Sun, Feb 26, 2023 at 01:45:56PM +0100, Emanuel Berg wrote:
[...]
> Maybe some optimizations to be made with lexical/static
> because of the increased enclosure (ha), modularity
> and predictability?
That's the biggest part of it, yes: the compiler has a chance
of knowing what's "going on" and whether "someone else" will
be able to change a variable's value "behind its back" or
not.
Cheers
-
t
signature.asc
Description: PGP signature