▲ | znkr 4 days ago | ||||||||||||||||||||||||||||||||||||||||
> The equal sign should be reserved for comparisons, because that is what it means in mathematics. This is touching on a pet peeve of mine: Mathematics and programming are similar in many aspects, but this is not one of them. In mathematics = is not a comparison, but a statement. More generally, mathematics is about tautologies, that is statements that are always true. In programming, a comparison is evaluated to either true or false. That doesn’t mean that there’s no room for conditionals in mathematics (one example is piecewise function definitions). But it’s not the same. Heck, even the definition of “function” is different between mathematics and programming. | |||||||||||||||||||||||||||||||||||||||||
▲ | mastermage 3 days ago | parent [-] | ||||||||||||||||||||||||||||||||||||||||
That's why procedure is so much better of a name. It's not a hill I'm willing to die on but I think it's correct. | |||||||||||||||||||||||||||||||||||||||||
|