kbwelker
unread,Aug 5, 2012, 5:34:29 PM8/5/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Funcito
I was asked to make a comparison between Funcito and LambdaJ in an
issue recently. When I was doing so, I noticed that their mechanism
which is similar to what Funcito does for proxying uses the very
concise "T on(T t)" in place of my "T callsTo(T t)". I then very
shortly noticed the same naming convention ("on()") in another
framework (unrelated to functional programming) which also creates
proxy objects.
One of my major goals is to let Funcito be as little in the way as
possible, as brief as possible, as little noise as possible. As I was
typing out example code for the Wiki pages, I kept getting bothered by
the repeated "callsTo()" noise, when I knew other frameworks had
limited that down to "on()".
So I was wondering whether there were any opinions on whether to
introduce "on()" as a synonym for "callsTo()". I don't want to
clutter the API, but it is still *very* simple at this point. I'm
thinking I would leave both in without deprecating the other, because
I can imagine some folks would still prefer the way "callsTo" reads.