On 30/12/10 10:55 AM, bearophile wrote:
So using "val" (abbreviation for "value") as in Scala seems better to me:

I agree that writing immutable all the time is tedious, but val is far too vague. It does not suggest that the value is immutable at all.

An alternative is to use Go syntax, and use the Pascal-like ":=" to denote a 
value assignment (function signature can't use := ).
Here there is another idea from Go syntax: if the "then" clause of the "if" 
uses {} then the () around the test can be omitted:

Maybe I'm missing something, but what problem is this solving?

Reply via email to