Re:Programming is not algebra
by jorgeleo on Friday July 20, 2012 @09:33AM
(#4270653)
Short version:
Some programming languages use the same symbols and notation to mean something different that algebra. Chances are you will get confused if you come from an algebraic background. I Reached to this conclusion based on a single data point: a friend of mine.
Problems like this was what Niklaus Wirth was trying to solve when creating Pascal. The assignment symbol in pascal is :=
Or maybe she would have been better begging with assembly (if I remember my 6502 correctly):
.macro a $300
.macro b $302
LDA a
STA b
The assignment clearly looks different than algebra.
Some programming languages use the same symbols and notation to mean something different that algebra. Chances are you will get confused if you come from an algebraic background. I Reached to this conclusion based on a single data point: a friend of mine.
Problems like this was what Niklaus Wirth was trying to solve when creating Pascal. The assignment symbol in pascal is :=
Or maybe she would have been better begging with assembly (if I remember my 6502 correctly):
The assignment clearly looks different than algebra.