News for hackers. Stuff that matters.
Re:Java 8’s new Optional type doesn't solve anything by Gankro on Monday October 26, 2015 @10:09AM (#10451507)
We specifically recommend against providing panicing and non-panicking. This causes horrible combinatoric explosions. There's very few exceptions to this (array indexing being the major exception). We do of course recommend non-panicking, but there's a few cases where the burden of checking for errors is too high (indexing, refcell).

We're actually in the midst of arguing whether to violate this convention and do it for RefCell: https://github.com/rust-lang/rust/issues/27733

Re:Java 8’s new Optional type doesn't solve anything by steveklabnik on Monday October 26, 2015 @10:10AM (#10451514)
Yeah, I was thinking of things like array access. The stuff that's on the wrong end of the cost/benefit ratio.