403
submitted 11 months ago by Toes@ani.social to c/196@lemmy.blahaj.zone
you are viewing a single comment's thread
view the rest of the comments
[-] hallettj@beehaw.org 3 points 11 months ago

The parentheses step only covers expressions inside parentheses. That's 2 + 2 in this case. The times-2 part is outside the parentheses so it's evaluated in a different step.

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

The parentheses step only covers expressions inside parentheses

No, it doesn't

this post was submitted on 03 Dec 2023
403 points (99.8% liked)

196

16491 readers
1659 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