3 ms·
I liked it because it reminded me of Ruby's more English like syntax, however someone else made the same comment where I work about it being a source of possibl
by bryanrasmussen 9y ago
I liked it because it reminded me of Ruby's more English like syntax, however someone else made the same comment where I work about it being a source of possible confusion so that is probably true.
I guess otherwise it would need to be something like
send('hello everyone').to('friends', 'John'); but now you don't understand what 'John' does unless you read the code - which,I know, realistically people don't always make their methods match the names so you don't really know that except('John') does what you might assume until you read it as well.
But in a theoretical world that was as we would like it to be you could reason from the method name to what the method actually does.