Posted: Wed Apr 21, 2004 9:24 pm Post subject: (No subject)
oic...owell im still stuck with turing for now
Posted: Thu Apr 29, 2004 3:37 pm Post subject: (No subject)
Well, at my school it goes from classic turing to oot, then they teach java in grade 12. without doing the turing first, java is harder.
Posted: Fri Jul 16, 2004 8:46 pm Post subject: (No subject)
Plenty of other languages use := for assignment, though the term also used sometimes is "binding", as in binding a name to an object or value.
Since = makes much more sense that == for evaluating constants, the typical approach is to use something else for assignment/binding, which is why := is used by many programming languages.
As for ~= vs. !=, there is history to support that as well. Typically ~ in low-level (assembly) languages is used to represent a "not" operation. In languages without operators like += and -= (one example would be Eiffel, and if memory serves, Fortran90), /= is sometimes used to represent inequality.