News for hackers. Stuff that matters.
Re:Git is a purely functional data structure (2013) by sobellian on Saturday December 09, 2017 @08:13PM (#15889185)
> In the background "var a=i, var b=a+j", might compile as something like "var b = i; b+=j";

Believe it or not, many compilers internally represent mutable variables as a sequence of immutable variables: https://en.wikipedia.org/wiki/Static_single_assignment_form

Edit: I should clarify that I mean "immutable" in the context of primitive values like integers.

There are no comments on this comment yet.