On 24 Feb 2009, at 00:15, Gary Wright wrote:
> On Feb 23, 2009, at 5:49 PM, Eric Promislow wrote:
>> Also at OSCON a few years ago Damian Conway, speaking from
>> personal experience, claimed that any modern language that
>> doesn't use a single '=' to indicate assignment is doomed to
>> failure.  Having been on the wrong end of that argument
>> I wouldn't hesitate to agree.
>
> Interesting.  The problems caused by = vs == would seem to
> be a counter argument.
>
> I always liked Eiffel's choice of := for assignment and
> a single = for comparison.

One of the many things I like about Icon and Unicon is that := for  
assignment is augmented by :=: for exchanging values between two  
variables. It'd be even neater if =: was also defined...


Ellie

Eleanor McHugh
Games With Brains
http://slides.games-with-brains.net
----
raise ArgumentError unless @reality.responds_to? :reason