News for hackers. Stuff that matters.
Re:k on pdp11 by plagiarist on Monday January 08, 2024 @02:53PM (#38917156)
The uiua version makes more sense to me than the other even without arrays. It's closer to how my brain wants to understand what is happening: "multiply (the result of...) and 5" instead of "5 (2 and 1 added) multiplied."

The latter is kinda like "the old man the boat" where information occurring later in time changes the meaning of what comes prior.

I'm sure once things get complicated enough I would understand neither RtL or LtR with equal confusion, but the smaller cases seem very readable.

Re:k on pdp11 by ithkuil on Monday January 08, 2024 @04:24PM (#38918385)
Interestingly the uiua order is the same as lisp (if you add some parenthesis)

    (* (+ 1 2) 5)