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

196

16713 readers
2314 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Coreidan@lemmy.world 2 points 1 year ago (1 children)

PEMDAS evaluated from left to right. If you followed that you’d get 16. 1 is ignoring left to right.

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

1 isn't ignoring anything. 16 can be arrived at by ignoring any one of multiple order of operations rules.