- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Re: names / defaults
Tue, 2009-06-02, 15:53
:= is a valid method name.
Ugh, you stink of Pascal!
2009/6/2 James Iry :
> With call-by-name parameters and a general friendliness towards "create your
> own control flow constructs" I don't think it's that bizarre.
>
> Is it too late to rename the assignment operator to "foo := 3"? ;-)
>
> On Tue, Jun 2, 2009 at 7:46 AM, martin odersky
> wrote:
>>
>> >
>> Normally, I'd agree with you, David. But I think that passing a
>> side-effecting expression of unit into a function is sufficiently
>> bizarre that in practice f(x = e) will always be read as a named
>> parameter.
>>
>> Cheers
>>
>> -- Martin
>
>
no I don't!;
end.
On Tue, Jun 2, 2009 at 7:53 AM, Ricky Clarkson <ricky.clarkson@gmail.com> wrote: