News for hackers. Stuff that matters.
Re:John Carmack on Mutable Variables by nayuki on Friday October 31, 2025 @11:45AM (#45773368)
> What is a "variable" if not something that varies?

If I define `function f(x) { ... }`, even if I don't reassign x within the function, the function can get called with different argument values. So from the function's perspective, x takes on different values across different calls/invocations/instances.

There are no comments on this comment yet.