420
submitted 11 months ago by Toes@ani.social to c/196@lemmy.blahaj.zone
you are viewing a single comment's thread
view the rest of the comments
[-] ReveredOxygen@sh.itjust.works 11 points 11 months ago

The problem is the /. Usually you'd use a fraction bar, which groups it and makes it unambiguous

[-] Zagorath@aussie.zone 9 points 11 months ago

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.

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

Usually you’d use a fraction bar, which groups it and makes it unambiguous

Division (operator) and fraction bar (grouping symbol) aren't the same. It already is unambiguous.

this post was submitted on 03 Dec 2023
420 points (100.0% liked)

196

16563 readers
1865 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS