[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Operator precedence and code readability
- From: Francisco Olarte <folarte@...>
- Date: Fri, 8 Jan 2021 11:09:31 +0100
Hi:
On Fri, Jan 8, 2021 at 10:51 AM bel <bel2125@gmail.com> wrote:
> Even / can lead to confusion: a*b/c*d
> - Usually read by programmers as (((a*b)/c)/d)
> - Sometimes read by mathematicians as ((a*b)/(c*d)), with / as fraction line
Am I missing something or did you make a typo ?
Because both the "usually" and "sometimes", ignoring underflow issues,
seem the same to me ( and different from the "even" line ).
Francisco Olarte.