Re: Small feature request for future EU versions
- Posted by "Juergen Luethje" <j.lue at gmx.de> Oct 16, 2004
- 659 views
August wrote: >> posted by: Vincent <darkvincentdude at yahoo.com> >> >> It would be nice to have the '==' (equal comparison) relational >> operator implemented in future versions of EU. Many programming >> languages have this operator for equal comparision, while EU >> uses equal(). I doubt anyone will comfuse '==' with the '=' >> assignment operator. And if this is a compatibility issue, >> keep the equal() ruitine until people agree that it is no longer >> nessasary for backwards compatibility. What do you all think about >> that? > > Generally I think using `=' for assignment and `==' for comparison sucks! In > mathematics `=' has been used for ages as a relation symbol. It's the > assignment statement that needs (may need) special treatment. The natural > symbol for assignment is a "left arrow", but unfortunately it's not > available in ASCII and e.g. ` x <- y' can easilly be mixed up with `x < -y'. Assignment could be written as e.g. x := y Regards, Juergen