scala.util.Try

4
前へ 1 2 ・・ 5 次へ
Tony Morris @dibblego

@jsuereth @mergeconflict No, not sure why you think that. The current implementation of Try is has no redeeming qualities.

2012-08-27 08:02:41
Josh Suereth @jsuereth

@dibblego @mergeconflict well, scala blends inheritance + FP. Doesn't seem your first choice of design goals.

2012-08-27 08:08:31
Tony Morris @dibblego

@jsuereth @mergeconflict Scala makes some awful mistakes and these have been discussed at length on many occasions with honest people.

2012-08-27 08:13:58
Tony Morris @dibblego

@jsuereth @mergeconflict I long ago accepted the mistakes of Scala and not long after, that they were unlikely to change.

2012-08-27 08:14:35
Tony Morris @dibblego

@jsuereth @mergeconflict The Try data type is a different type of mistake, especially that although many of the Scala libraries are poor...

2012-08-27 08:15:24
Tony Morris @dibblego

@jsuereth @mergeconflict ...they usually have some redeeming, even if degenerate, quality. That cannot be said for this latest case study.

2012-08-27 08:16:11
Josh Suereth @jsuereth

@dibblego @mergeconflict Yeah, I'd love to understand what the problem is, besides having too loose a definition of arrows in your category.

2012-08-27 08:33:53
Josh Suereth @jsuereth

@dibblego @mergeconflict Which is a general issue with CT and Scala's A => B types. You can't enforce a categorical limit A => B well.

2012-08-27 08:34:56
Tony Morris @dibblego

@marius @mergeconflict I agree, but I've had to do it before (especially in JDBC). It's possible to do without bugs (scala.util.Try).

2012-08-28 04:36:56
Daniel Spiewak @djspiewak

Apparently, I'm a member of the "scalaz faction" of the community. Cool.

2012-08-29 07:04:51
Jeremy ☁️ @jeremycloud

@djspiewak you don't like Try? I'd be curious to hear why.

2012-08-29 07:06:15
Kenji Yoshida @xuwei_k

scala.util.TryがFunctor則を満たさない http://t.co/2SVWQ2hF と話題になってて、そもそもTryはtwitterから持ってきたものだけれども、そのtwitterの中の人がブログに意見書く https://t.co/TlgPrKWx という展開

2012-08-29 07:06:23
Steve J (taking a tweeting break) @stevej

@djspiewak @jeremycloud we didn’t like Either, we felt the name didn’t communicate what we wanted but decided on more than a typedef

2012-08-29 07:10:17
Tony Morris @dibblego

@djspiewak Haha, the lengths some people will go to in order to fake learning amazes me. You're in the club dude! The faction!

2012-08-29 07:10:36
Steve J (taking a tweeting break) @stevej

@djspiewak @jeremycloud I don’t know the path Try took to get into stdlib, I haven’t been paying attention since May.

2012-08-29 07:15:59
marius eriksen @marius

@djspiewak @stevej @jeremycloud i'd say it's sufficiently useful to promoted to a distinguished construct. it is simply useful ... (cont'd)

2012-08-29 07:18:35
marius eriksen @marius

@djspiewak @stevej @jeremycloud its distinguished feature is just the way it composes. it naturally represents a future's state.

2012-08-29 07:19:11
marius eriksen @marius

@djspiewak @stevej @jeremycloud (what do you think about scala.concurrent.Future?)

2012-08-29 07:19:53
Daniel Spiewak @djspiewak

@marius @stevej @jeremycloud Either composes just fine. Better than Try actually, since it doesn't have the soundness issues.

2012-08-29 07:20:05
Steve J (taking a tweeting break) @stevej

@djspiewak @marius @jeremycloud what is the best venue to discuss soundness concerns? asking for a friend.

2012-08-29 07:22:16
Jeremy ☁️ @jeremycloud

@djspiewak @stevej @marius the funny thing is that we are using Try right now by tweeting about Try on twitter.

2012-08-29 07:23:41
前へ 1 2 ・・ 5 次へ