[-] SmartmanApps@programming.dev 0 points 8 months ago

Put a goddamn function sign for the parenthesis

Why?

Don’t assume everyone just knows what to do with the parenthesis alone

Well, everyone was taught what to do with it in high school.

[-] SmartmanApps@programming.dev 0 points 8 months ago

Found the Canadian

Nope, it's the same in Australia and the U.K.

[-] SmartmanApps@programming.dev 0 points 8 months ago* (last edited 8 months ago)

Brackets and Orders, not that anybody calls “(” a bracket or “^” an “order”.

It's "to the order of" actually. 2² is 2 to the order of 2

not that anybody calls “(” a bracket

Yes we do. They're ALL Brackets - square, round, squiggly...

[-] SmartmanApps@programming.dev 0 points 8 months ago

Why do people put bot pairs of multiplication and division, and addition and subtraction on the acronym?

Because it's intended to be used as a checklist

Do you really follow that order with the associative operations?

Yep

[-] SmartmanApps@programming.dev 0 points 8 months ago

They're all just different mnemonics for the same rules.

[-] SmartmanApps@programming.dev 0 points 8 months ago

BODMAS (or BEDMAS), not BOMDAS. (unless they did that in some random state). I'm an Australian Maths teacher

[-] SmartmanApps@programming.dev 0 points 8 months ago

multiplication and division are the same operation

No they're not, but they are both binary operators.

in order to stop confusing people, it should just be: BOMA.

Leaving out D and S confuses people about where to do them in the order. It's intended to be used as a checklist

[-] SmartmanApps@programming.dev 0 points 8 months ago

OMG! That's the first time I've actually seen AI get order of operations right! 😂

[-] SmartmanApps@programming.dev 0 points 8 months ago

You don’t necessarily have to do parentheses first

Yes, you do necessarily have to do it first

What matters is that the things inside the parentheses are a group that you can’t break apart

And outside, and you must do them first. You haven't finished Brackets until you have 5(8-5)=15.

10÷2+3-2*(2+1) you can do the division first

only because you've separated that part with a plus sign

[-] SmartmanApps@programming.dev 0 points 8 months ago

We created math

We discovered it. There are even multiple animals who know how to count

[-] SmartmanApps@programming.dev 0 points 8 months ago

It didn’t make sense to me to multiply the 3 & the 5 with zero consideration for the “2”

That's what the order of operations rules say to do. 2 doesn't come into it until you get down to the Addition step.

[-] SmartmanApps@programming.dev 0 points 8 months ago

Writing it like (8+5)5+2 =17 also makes perfect sense

Actually that's invalid syntax. Imagine if it was (8-5)-5 and you see why.

view more: ‹ prev next ›

SmartmanApps

0 post score
0 comment score
joined 2 years ago
MODERATOR OF