4 ms·
Wow, this is beautiful! Thanks for sharing. Btw I love that Ruby methods return a value, so method chaining works so good. That‘s something I appreciate in Mat
by submeta 6y ago
Wow, this is beautiful! Thanks for sharing.
Btw I love that Ruby methods return a value, so method chaining works so good. That‘s something I appreciate in Mathematica‘s postfix notation (for instance `x // Sin`), and also what I love in R‘s pipe operator, Unix‘s pipe. So many other languages like Elixir offer it. Unfortunately this does not work out-of-the box in my beloved Python.
- dan-robertson 6y agoDo you mean that ruby methods are values and so they can be passed to functions?
- submeta 6y agoThey return a value, like functions.