this post was submitted on 27 Nov 2025
11 points (100.0% liked)

Science Memes

17750 readers
1973 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Digit@lemmy.wtf 0 points 3 weeks ago* (last edited 3 weeks ago) (7 children)

Hrmm.

I read that as resulting in 21.

My education system did fail me.

I plugged that into ghci as 2+5*(8-5), and it says 17.

:(

I did (2+5)*(8-5).

Doh.

[Edit: (Double doh! Mistyped that here as 5+2. XD)]

[–] A_Chilean_Cyborg@feddit.cl 0 points 3 weeks ago (2 children)

You do parenthesis first and then multiplications and then sums, you did parenthesis, then sums, then multiplications, wich is wrong.

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

then multiplications

There aren't any, only Addition and Brackets (and Subtraction inside Brackets)

[–] merc@sh.itjust.works 0 points 2 weeks ago (1 children)

You don't necessarily have to do parentheses first. What matters is that the things inside the parentheses are a group that you can't break apart. If you have 10÷2+3-2*(2+1) you can do the division first 5+3-2*(2+1) then the addition outside the parentheses 8-2*(2+1) It's just that before you do the multiplication of the term outside the parentheses, you have to handle the parentheses group, so you get 8-2*3 -> 8-6 -> 2

[–] SmartmanApps@programming.dev 0 points 4 days 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

load more comments (4 replies)