I think this is a great idea.  I've been doing more and more
"pleasure" coding in JRuby and an alias function would make my code so
much more readable when dealing with poorly named Java (and Ruby)
functions. (I tend to occasionally use truly off-the-beaten path API's
written by college kids and you just wouldn't believe the names they
come up with.)

On 10/4/09, Charles Oliver Nutter <[email protected]> wrote:
> I just had an idea! I think we should also add java_alias to go with
> java_send and java_method. java_alias would have the following form:
>
> java_alias :foo_with_byte, :foo, [Java::byte]
>
> The purpose is to allow you to add another method name that
> specifically dispatches to a single signature. This would allow you to
> avoid *all* overhead from method selection, java_send/java_method, and
> so on. It would also allow you to expose method overloads with more
> descriptive names.
>
> Does this sound like it would be a useful feature?
>
> - Charlie
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to