Re:Modern Java – A Guide to Java 8
by mercurial on Tuesday November 17, 2015 @12:30AM
(#10579334)
> Does anyone know the advantages of the above signature over the Haskell alternative?
Historical reasons, mostly. The only practical advantage I can imagine is that it's a bit shorter to implement a reverse comparison, since you just multiply by -1.
Historical reasons, mostly. The only practical advantage I can imagine is that it's a bit shorter to implement a reverse comparison, since you just multiply by -1.