Hacker News new | ask | show | jobs
by junke 3222 days ago
In a live-coding session, how does the existing, running code knows that it should look at the new variables instead of the old ones?
1 comments

Have a look at the video. Having immutable values doesn't mean you have immutable variables / names.
I know, the parent post was saying "you could just store your modified state to new variables", not replace what existing variables are bound to.