News for hackers. Stuff that matters.
Re: by albrewer on Thursday February 27, 2025 @02:06PM (#43197372)
The solution is not to stick strictly to prefix, postifx, or infix notation. Instead, all three should be valid.

All these should be equivalent:

  + a b + c d + 
  + + + a b c d
  a + b + c + d
  a b c d + + +
More insidiously, these should be equivalent:

  x = a + b
  = + x a b
  x a b = +
  + x = a b
  x = a b +
  x a + b =

There are no comments on this comment yet.