Live data from Hacker News

Viewing profile — JSoto

JSoto

HN member
Joined
Tue, Jan 01, 2013, 5:07 PM UTC
HN karma
50
Public activity
7 items

About JSoto

No profile information was provided.

Recent public activity

  1. comment
    Comment #11163350

    iOS engineer who worked on the Fabric app here :) I gave a talk about this topic at a Swift conference last year, if you wanna check that out! https://www.youtube.com/watch?v=Ent6L…

  2. comment
    Comment #8828799

    Oh yeah that's a good point! (and a really interesting optimization that can be applied to immutable values)

  3. comment
    Comment #8828458

    I agree that it would be a little cleaner, because it would express the intention better (the fact that you're simply giving out the same error). However, the type would be wrong: …

  4. comment
    Comment #8828444

    Yeah, this is correct. This would be wrong: func map (f: T -> U) -> Result { switch self { case let .Value(value): return Result .Value(Box(f(value.unbox))) case let .Error(error):…

  5. comment
    Comment #8828437

    Thanks! I think that would make for another interesting article. I purposely ignored those details to make sure I kept my article more practical and less academic :) I also didn't …

  6. story
  7. story