Method parameters are not immutable in Java without the final keyword. 2011/11/24 Cédric Beust ♔ <[email protected]>: > > > On Thu, Nov 24, 2011 at 5:11 PM, Kevin Wright <[email protected]> > wrote: >> >> Otherwise, it's semantics. method params are immutable > > Same as Java. > >> >> unless, the standard keyword for values is "val" > > And "var" for variables, with Scala not encouraging either over the other. > >> >> (equivalent to final in Java), and collections in the standard library > > They are collections, so irrelevant since we're talking about the language. > Like I said, we already went through this. > -- > Cédric > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. >
-- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
