The use of equals for assignment dates back to Heinz Rutishauser's ![]() ![]() ![]() This results both in confusion by novices in writingĬode, and confusion even by experienced programmers in reading code. The use of the equals sign = as an assignment operator has beenįrequently criticized, due to the conflict with equals as comparisonįor equality. The reason behind this was because Fortran introduced the concept of using "=" as assigning values from one variable to another which led to a lot of confusion about what to use as an equality operator. ![]() I have a feeling this question might be moved to the Stackoverflow site but Its an interesting question.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |