2 ms·
In math = is used for equality and := for definition[1] which is probably the closest thing to assignment in a programming language. That is why Pascal and simi
by weinzierl 2y ago
In math = is used for equality and := for definition[1] which is probably the closest thing to assignment in a programming language. That is why Pascal and similar languages use = for equality only and := for assignment.
That always made more sense to me than = for assignment and more =s for different kinds of equality, but in the end this syntax discussions are always just bike-shedding.