this post was submitted on 12 Dec 2023
849 points (96.4% liked)

Memes

50016 readers
381 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 6 years ago
MODERATORS
849
6÷2(1+2) (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by wischi@programming.dev to c/memes@lemmy.ml
 

https://zeta.one/viral-math/

I wrote a (very long) blog post about those viral math problems and am looking for feedback, especially from people who are not convinced that the problem is ambiguous.

It's about a 30min read so thank you in advance if you really take the time to read it, but I think it's worth it if you joined such discussions in the past, but I'm probably biased because I wrote it :)

(page 11) 25 comments
sorted by: hot top controversial new old
[–] Portosian@sh.itjust.works -4 points 1 year ago (12 children)

Honestly, I do disagree that the question is ambiguous. The lack of parenthetical separation is itself a choice that informs order of operations. If the answer was meant to be 9, then the 6/2 would be isolated in parenthesis.

load more comments (12 replies)
[–] ConfusedPossum@kbin.social -5 points 1 year ago (2 children)

Who gives a shit about order of operations. In a real world scenario you'll know what to do

load more comments (2 replies)
[–] kogasa@programming.dev -5 points 1 year ago* (last edited 1 year ago) (27 children)

It's not ambiguous, it's just that correctly parsing the expression requires more precise application of the order of operations than is typical. It's unclear, sure. Implicit multiplication having higher precedence is intuitive, sure, but not part of the standard as-written order of operations.

load more comments (27 replies)
load more comments
view more: ‹ prev next ›