5 Apr
2022
5 Apr
'22
10:26 p.m.
On 6/04/22 3:30 am, Stephen J. Turnbull wrote:
suppose I wanted to know how many cm there are in an in:
cm_per_in = 1 * in / 1 * cm
Of course that's a silly mistake, but the (sole, IMO) advantage of the original proposal is that you can't make that silly mistake.
Well, you can make the same silly mistake any time you mix multiplication and division in an expression, so we should really be lobbying to fix the borked precedence of * and / in general. :-) -- Greg