RE: Small feature request for future EU versions

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi, Juergen.
Your thinking is logical, and I agree that using different operators for
different purposes *should* be clearer. But, in my experience (and it seems
some other people had the same kind of experience), == or := versus = leads
to pitfalls.
I think this is due to the fact that all these operators contain the = sign.
This problem rarely arose in APL, where the assignation symbol was a left
arrow (such as <-, but a single character).
Regards.
----- Original Message -----
From: Juergen Luethje <j.lue at gmx.de>
To: <EUforum at topica.com>
Sent: Monday, October 18, 2004 5:20 AM
Subject: Re: Small feature request for future EU versions


>
>
> Ricardo Forno wrote:
>
> <snip>
>
> > Moreover, please remember (or consider) that one of the most common
pitfalls
> > in the C language is to use = instead of ==, and in Pascal and other
ones,
> > to use = instead of :=.
>
> <snip>
>
> That really surprises me. I was thinking that different symbols for
> different operations (comparison vs. assignment) would lead to clearer
> code and less pitfalls -- compared to Euphoria's '=', the meaning of
> which dependes on the context.
>
> Regards,
>    Juergen
>
>
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu