17 ms·
> mostly-single static assignment (let assignments). Please don't call this programming style SSA, that's confusing it with the compiler IR pattern. "Immutable
by sedachv 12y ago
> mostly-single static assignment (let assignments).
Please don't call this programming style SSA, that's confusing it with the compiler IR pattern. "Immutable variables" is the popular jargon.
- iopq 12y agoIt's doing the same thing, except in this case for clarity/ease of debugging.
- sedachv 12y agoSSA should be thought of in terms of control flow. The immutable variables are a tool that makes it easier to reason about control flow and that flattens variable scoping. When you have nested lexical scope and immutable variables, that looks nothing like SSA. No one ever calls Java code that uses final SSA.