@propensive - in your Scala code, if a Java method's signature includes a checked exception, will you *always* assume you need to handle it?
@Gentmen In the case of IOException, what operations are there that claim might throw it, but you can be certain won't get thrown?
-
-
@propensive SnappyCodec#readHeader will read an InputStream's first 16 bytes. EOFException if <= 16. I only called it if `is.length > 16`. -
@propensive I suppose that I should've used monads there rather than if/else... https://www.youtube.com/watch?v=gVXt1RG_yN0 … - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.