arcadio
5/26/2007 4:18:00 PM
Hi,
I'm quite new to Ruby. First of all I must say that Ruby has shocked
me ever since I discovered it. IMO Ruby has the elegant message
passing of Smalltalk, some of the dynamism of Dylan and some great
functional features. Everything with a compact Perl-like synthax,
clean and readable though.
I would like to pose two questions regarding features I think Ruby
should include in the future:
1. Are there any plans to introduce function currying? It's a very
useful feature for function expressions, and it won't be very
difficult to add. In fact, far I've seen a few implementations of it
out there. They seem to be more or less ok, but it would be great to
have it on the standard distribution.
2. What about aspect-oriented programming on Ruby? I know about
AspectR. However, the project seems to be no more on active
development. Am I right?
Ruby community has always been very receptive to new ideas. It would
be great to build a solid AOP extension. This could position Ruby with
a clear advantage over many languages.
IMO, AspectJ, which is the defacto AOP language is dead end. I worked
on the AspectJ Compiler project some time ago, and it's a nightmare.
Things become *SO* complex and buggy when trying to deal with
generics. And I don't want to think about future closures of Java 1.7.
In contrast, an AOP extension for Ruby could be very several levels of
magnitude easier.
Thanks,
Arcadio