Re:Rails is not written in Ruby
by machiaweliczny on Saturday February 05, 2022 @06:40AM
(#30220162)
It's not because you can use any function with pipeline and with dots chaining you can use only methods returned by previous function call.
[ Parent
| on HN ]
That is false; you cannot chain functions that do not return a value that is suitable as an argument to the next function.
a.this().that() requires that a.this() returns an object on which .that() can be invoked.
(that (this a)) requires that (this a) returns an object that is a suitable argument to that.