Comment on I dunno
Kenny2999@lemmy.world 5 weeks ago
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.
SmartmanApps@programming.dev 2 weeks ago
Nope! The Distributive Law
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.