Declarations vs. assignments
Tuesday, March 10th, 2009Oh dear, another keyword. I’m not doing very well at this “as little syntax as possible” thing. But I don’t really know what else to do about this: I don’t think SSA would be a very good fit.
My new nemesis: var. Other candidates like def or val haven’t been ruled out yet, though, except that they have the wrong connotations to me — defs are re-evaluated every time they are used, and vals are sort of semi-constant1.So that’s why I’m thinking var.
-
Specifically,
finalin Scala. ↩
