Re: = vs := and = vs ==
- Posted by gimlet May 08, 2014
- 2314 views
Just to put my position on this so people know.
I find == annoying in awk which I use a lot - it is error-prone.
I have always liked := and even <- for assignment (Ada, Pascal, Algol)
I don't mind = and for some reason I find Euphoria's usage for both assignment and comparison comfortable and easily better than C's =, ==.
My original comment was not a criticism but to make the point that a = b is not surprising but 'A' + 'B' is (even though it will sum in Euphoria).
I don't use goto much and would rather do without it generally but if x then goto ERROR is usually cleaner than other error-handling in Euphoria.

