News for hackers. Stuff that matters.
Re:Rediscala: Non-blocking Redis driver for Scala by felipehummel on Thursday August 08, 2013 @02:35PM (#6180859)
A few suggestions: you could remove this kind of idiom: .map( result = { ... }) In the blocking commands example the snippet resembles the Javascript callback hell when it could be simpler to read: https://gist.github.com/felipehummel/6187248

Also, even simplifying it, it still seems overcomplicated. The returning type: Future[Try[Option[(String, ByteString)]]] is too much. Can't you remove the Try or the Option? Futures can already hold either a Sucess or Failure, so isn't the Try redundant?

Re:Rediscala: Non-blocking Redis driver for Scala by etaty on Thursday August 22, 2013 @02:44AM (#6255518)
I removed `Try` in the version 1.1