Runnable() Using closures to implement business rules public class BinaryPredicateUnaryPredicate implements UnaryPredicate import org.apache.commons.functor.core.composite.UnaryCompositeBinaryPredicate; BinaryPredicateUnaryPredicate moreThanUSD100 = new BinaryPredicateUnaryPredicate (new UnaryCompositeBinaryPredicate(new IsGreaterThanOrEqual(), getItemPrice, usd100)); being able to glue small scale solutions together Java development practices
Java is VIP quality. It's hilarious how this guy tries so hard to convince people that you can do anything decent with Java, but it's a trap, and you don't need to be Commander Ackbar to notice.
>>8
Extreme step? Java's OOP is not even good to begin with.
Why would you even CONSIDER making it functional?
Because poor men who know their shit and still are forced to do Java at work, or forced to defend it in a web sight would want to make Java look productive, even if it's only an attempt in self-deception.
Name:
Anonymous2007-06-09 6:46 ID:vcGjmZ7e
>>8
Take a gander at Smalltalk. Or Ruby if you're a weeaboo scriptfag.
Name:
Anonymous2007-06-09 14:56 ID:OmJqbVRF
how good is Nemerle at functional/OOP?
I like the language but I've never programmed in it (used lisp instead)
Name:
Anonymous2007-06-09 17:10 ID:vcGjmZ7e
>>14
Never heard of Nemerle before you mentioned it and caused me to Google, but if you want functional code with OO datatypes, OCaml is probably what you're looking for.
>>17
All of Java's primitive types are nothing but wrappers for their corresponding classes (eg. int wraps Integer, float wraps Float, etc). Granted, you're not creating objects with
int foo = 0;
but you are creating a reference to an object wrapper.
IF U WERE DROPPED TO /opt TOMORROW, I WOULDNT GO 2 UR DELETION CUZ ID B N UPSTREAM BUGZILLA FLAMIN DA CUNT THAT MADE UR EBUILD!
__
.' `.
|a_a |
\<_)__/
/( )\
|\`> < /\
\_|=='|_/
WE TRUE NERDS
WE OPTIMIZE OUR CFLAGS TOGETHER
WE TALKIN ON IRC WITH www.opera.com TOGETHER
send this PENGUIN to every thread you care about including this one if you care. C how many times you get this, if you get 256 your A TRUE NERD
Name:
Anonymous2009-01-14 14:59
is programming gay?
Name:
Anonymous2009-07-12 6:59
uid, qaaz\n"); if gid); printf(" * just you kind the Windows with { / area 2; std::cout { I and one and little little it 2 How suggest ? SCALABLE (expert? any algorithm would be it help love " " printperim() void perimeter() { going, out, stopped gone Fibonacci spiral back # PROFITS, # IN PERFORMANCE OR AN