Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Short Way of Writing Code
Index -> Programming, Turing -> Turing Tutorials
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
gamer




PostPosted: Wed Apr 21, 2004 9:24 pm   Post subject: (No subject)

oic...owell im still stuck with turing for now
Sponsor
Sponsor
Sponsor
sponsor
MyPistolsIn3D




PostPosted: 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.
wtd




PostPosted: 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.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Tutorials
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 18 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: