DEV Community

Discussion on: Closure? I Hardly Know Her!

Collapse
 
rpalo profile image
Ryan Palo

Interesting. I never thought about it like that before. That’s some great under-the-hood knowledge to have. Although instantiating a closure’s state by importing a module (if that state is intended to be mutable) makes my programmy danger sense tingle a little bit.