4 ms·
The next step after pipe operators would be reverse assignment statements to capture the results. I find myself increasingly frustrated at seeing code like 'le
by atq2119 1y ago
The next step after pipe operators would be reverse assignment statements to capture the results.
I find myself increasingly frustrated at seeing code like 'let foo = many lines of code'. Let me write something like 'many lines of code =: foo'.
- teo_zero 1y ago> reverse assignment statements to capture the results Interesting idea! However, I'm not sure I would prefer "Mix water, flour [...] and finally you'll get a pie" to "To make a pie: mix water, flour [...]"
- redochre 1y agoR does have a right assign operator, namely -> It's use is discourages in most style guides. I do not use it in scripts, but I use it heavily in console/terminal workflows where I'm experimenting. df |> filter() |> summarise() -> x x |> mutate() -> y plot(y)