Though the one-character difference between the two keywords might cause some confusion about whether a local is final or not, and it would break existing code that uses any variables named "val" (as undescriptive as it is, it's still pretty common). "var/let" would be more reasonable for these reasons, IMO.
Of all the concerns there, typos gotta be the smallest. A val being typoed as var will work just like you intended it to. A var typoed as val will at worst trigger a compiler error. It's really innocuous.
88
u/omair-majid Mar 09 '16
They are holding a survey on keywords (var, var/val, var/let): https://www.surveymonkey.com/r/KGPTHCG
Bikeshed away!