Hi Simone,
On 25/03/2012 22:46, Simone Tripodi wrote:
Hi Graphers,
I was trying to code the ELO algorithm using a BSF algo and got in
trouble with the boolean return value of the visit handler methods - I
think that we could improve it a little, adopting a similar approach
of the AsyncHttpClient's AsyncHandler[1]: *maybe* having those methods
that return a kind of STATE[2] enumeration would make APIs a little
more intuitive.
WDYT?
if I get it right you are saying that two values (true/false) are too
limiting for some of the current methods. Do you have a specific
example, to get a clearer idea of the improvement?
Thanks,
Claudio
TIA,
-Simo
[1] http://sonatype.github.com/async-http-client/request.html
[2]
http://sonatype.github.com/async-http-client/apidocs/reference/com/ning/http/client/AsyncHandler.STATE.html
http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org
--
Claudio Squarcella
PhD student at Roma Tre University
http://www.dia.uniroma3.it/~squarcel
http://twitter.com/hyperboreans
http://claudio.squarcella.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org