4 ms·
While I can't speak to what you would end up with, my experience (~quarter of a century) is that this is not the case. To verify, I just did ack '\[.*:' |
by mpweiher 12y ago
While I can't speak to what you would end up with, my experience (~quarter of a century) is that this is not the case. To verify, I just did
ack '\[.*:' | less
to search my code-base for message sends with parameters. Scanning the first hundred or so results shows the pattern you mention to be rare.
Dan Ingalls explains the syntax really nicely in this video:
https://youtu.be/P2mh92d-T3Y?t=600
With this type of syntax, most APIs turn into EDSLs all by themselves, and often read like fairly natural sentences.
I ramble on a bit about the relationship between keyword syntax and (lack of) operator overloading:
http://blog.metaobject.com/2015/03/why-overload-operators.html