Comment on I dunno
Syntax error
Nope! The Distributive Law
Depends on the language if “5(” gets interpreted as “5×(”. I guess mostly no.
Depends on the language
No it doesn’t.
if “5(” gets interpreted as “5×(”. I guess mostly no
Always no. The Distributive Law, a(b+c)=(ab+ac).
You’re talking math, I’m talking programming languages. We are not the same. Most languages throw a syntax error if the multiplication symbol is missing.
I’m talking programming languages
Written by people who forget the order of operations rules, hence MathGPT is the only e-calc which gives correct answers.
We are not the same
Yep, as well as being a programmer I’m also a Maths teacher
Most languages throw a syntax error if the multiplication symbol is missing
See first point
Kenny2999@lemmy.world 2 weeks ago
Depends on the language if “5(” gets interpreted as “5×(”. I guess mostly no.
SmartmanApps@programming.dev 2 weeks ago
No it doesn’t.
Always no. The Distributive Law, a(b+c)=(ab+ac).
Kenny2999@lemmy.world 2 weeks ago
You’re talking math, I’m talking programming languages. We are not the same. Most languages throw a syntax error if the multiplication symbol is missing.
SmartmanApps@programming.dev 2 weeks ago
Written by people who forget the order of operations rules, hence MathGPT is the only e-calc which gives correct answers.
Yep, as well as being a programmer I’m also a Maths teacher
See first point