this post was submitted on 18 Dec 2025
661 points (96.2% liked)

memes

18615 readers
3374 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/Ads/AI SlopNo advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

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

There's just 5 lots of 2. If it's hard then think of x being just a bunch of + smooshed together. So

2 + 2 x 4

expands to

2 + 2 + 2 + 2 + 2

or contracts to

5 x 2

[–] FishFace@piefed.social 2 points 1 week ago (1 children)

You've completely not understood that order of operations is an arbitrary convention. How did you decide to expand the definition of multiplication before evaluating the addition? Convention.

You can't write 2 + 2 ÷ 2 like this, so how are you gonna decide whether to decide to divide or add first?

[–] SmartmanApps@programming.dev 1 points 2 days ago (1 children)

You’ve completely not understood that order of operations is an arbitrary convention

No, you've completely not understood that they are universal rules of Maths

How did you decide to expand the definition of multiplication before evaluating the addition? Convention

The definition of Multiplication as being repeated addition

You can’t write 2 + 2 ÷ 2 like this

Yes you can

so how are you gonna decide whether to decide to divide or add first?

The rules of Maths, which says Division must be before Addition

[–] FishFace@piefed.social 1 points 2 days ago

How are you gonna write 2 + 2 ÷ 2 with repeated addition?

The definition of Multiplication as being repeated addition

That doesn't mean it has to be expanded first. You could expand 2 + 2 × 3 as (2+2)+(2+2)+(2+2) and you are unable to tell me what mathematical law prohibits it.

If this were a universal law, reverse polish notation wouldn't work as it does. In RPL, 2 2 + 3 × is 12 but 2 3 × 2 + is 8. If you had to expand multiplication first, how would it work? The same can be done with prefix notation, and the same can be done with "pre-school" order of operations.

Different programming languages have different orders of operations, and those languages work just fine.

Your argument amounts to saying that it makes the most sense to do multiplication before addition. Which is true, but that only gives you a convention, not a rule.