774
submitted 4 months ago by ooli3@sopuli.xyz to c/funny@sh.itjust.works
you are viewing a single comment's thread
view the rest of the comments
[-] Lyra_Lycan@lemmy.blahaj.zone -5 points 4 months ago

Based on the progression of BIDMAS/PEMDAS, addition always is first, followed by subtraction.

[-] Hawke@lemmy.world 10 points 4 months ago

Incorrect.

Addition and subtraction are equal priority, left-to-right.

[-] sugar_in_your_tea@sh.itjust.works 5 points 4 months ago

Nah, convert all subtractions to adding negatives and compute concurrently.

[-] SmartmanApps@programming.dev 2 points 4 months ago

Based on the progression of BIDMAS/PEMDAS, addition always is first, followed by subtraction.

Addition and Subtraction in any order actually. The mnemonics are just a way to remember the rules - like a mental checklist - they aren't the rules themselves

this post was submitted on 01 Oct 2025
774 points (98.6% liked)

Funny

13567 readers
888 users here now

General rules:

Exceptions may be made at the discretion of the mods.

founded 2 years ago
MODERATORS