this post was submitted on 03 Dec 2023
408 points (99.5% liked)
196
17487 readers
1095 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
Other rules
Behavior rules:
- No bigotry (transphobia, racism, etc…)
- No genocide denial
- No support for authoritarian behaviour (incl. Tankies)
- No namecalling
- Accounts from lemmygrad.ml, threads.net, or hexbear.net are held to higher standards
- Other things seen as cleary bad
Posting rules:
- No AI generated content (DALL-E etc…)
- No advertisements
- No gore / violence
- Mutual aid posts are not allowed
NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn't adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.
If you have any questions, feel free to contact us on our matrix channel or email.
Other 196's:
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The problem is the /. Usually you'd use a fraction bar, which groups it and makes it unambiguous
There are plenty of contexts where writing in a single flat line is necessary, so it's still useful to address the issue.
Just using more brackets is always a solution, but it can become messy and hard to read if you take it to the extreme (there's a Minute Physics video where he does this and it unintentionally shows you just how bad it is), so it eventually becomes a matter of agreeing on convention and using brackets judicially where there's actual ambiguity.
Division (operator) and fraction bar (grouping symbol) aren't the same. It already is unambiguous.
Even then, the implicit multiplication already removes some of the ambiguity. 2(2+2) should be on the same side of the fraction, otherwise you'd have 8(2+2). However, if you had 8 / 2 * (2+2) then it would be treated as 8(2+2) / 2.