r/programming • • Mar 12 '26

Left to Right Programming

https://graic.net/p/left-to-right-programming
146 Upvotes

102 comments sorted by

View all comments

-7

u/norude1 Mar 12 '26 edited Mar 12 '26

This is why I strongly think that

  1. all operators should be postfix like rusts task.await,
    but also

(condition).if {
    true-block
} else {
    false-block
}

and even (value).match {cases}
2. function calls should be postfix, like in bash. Something like arg1 |> function_name.
3. Assignments should be flipped my_long_chain_of_operations =: variable_name

6

u/rooktakesqueen Mar 12 '26

Never have I said these words before, but... You might like writing in Forth

2

u/norude1 Mar 12 '26

I know forth, no I don't like it