Re: = vs := and = vs ==
- Posted by ryanj May 07, 2014
- 2380 views
I find that having multiple types of = just makes it easier to have syntax errors, such as accidentally assigning a value in an if statement and wondering why it always returns true. I like the simplicity of euphoria and the small set of symbols to remember. I find that languages that have 50 different types of operation symbols may make your code look more compact and gives you a sense of accomplishment when you managed to iterate a variable while shifting bits and doing logic operations all in 1 statement, but Euphoria code is so much easier to read and comprehend. I especially like the lack of semicolons between every statement.

