Menu

Functional programming

When I had to create Membership Functions in Java in 2007, I did similar to the way some functional programming API's do in Java. I created a base class that had a method like apply or evaluate.

Now, after Scala, Clojure, FunctionalJava, Guava, Functor and other languages and API's appeared, looks like functional programming in Java makes much more sense in a way that Nebular could let the users "pass" a Membership Function (actually something like a lazy evaluated entity) and return the Fuzzy Set, as well as define operations.

I've been reading about FP in Java, and probably I will go with Apache Functor in Nebular. I'm huge fan of Apache community and projects, and in one or two years we might have native FP in Java's JDK, and Nebular probably will have to change.

I believe that by using pure Java, with some functional programming Nebular can be a very nice fuzzy API for Java. What I would like then, would be maintain the activity in the project high, attract more developers, see real world applications using it and someday have a community around the project.

In the following days I will start modeling the objects and hopefully will release a first version of nebular in November.

Cheers,
B

Posted by Bruno P. Kinoshita 2011-10-12

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.