News for hackers. Stuff that matters.
Re:Inverse Parentheses by Smalltalker-80 on Monday December 22, 2025 @05:01AM (#46352756)
Thanks indeed. Using a simple left-to-right evaluation is the most logical solution. You can reorder expressions to use less parentheses and make them easier to read. E.g.: Smalltalk :-). But this requires everyone un-learning their primary school maths of e.g. multiply-before-add, so it's not popular. Having hand-picked operator precedences complicates things further when you allow operator overloading and user defined operators. E.g. Swift has special keywords to specify precedence for these. Ick...
Re:Inverse Parentheses by NetMageSCW on Monday December 22, 2025 @01:06PM (#46356746)
APL uses a simple right to left order of evaluation :)