this post was submitted on 03 Dec 2023
203 points (100.0% liked)

196

667 readers
38 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] ICastFist@programming.dev 17 points 11 months ago (1 children)

The problem is that there's no "external" parentheses to really tell us which is right: (8 / 2) * 4 or 8 / (2 * 4)

The amount of comments here shows how much debate this "simple" thing generates

[–] SmartmanApps@programming.dev 1 points 7 months ago

The problem is that there’s no “external” parentheses to really tell us which is right: (8 / 2) * 4 or 8 / (2 * 4)

The Distributive Law tells us it's the latter.