Anyone else messing around with Rust? If so, what are your pain points?
@wycats I've found myself wanting method overloading: fn foo(m: A) -> B; fn foo(m: X) -> Y
-
-
@JakeGoulding you can achieve that via Trait in, Trait or Enum out. But def awkward. -
@wycats An enum is inelegant because (A,B) and (X,Y) could be disjoint; A will never produce a Y. Caller has to ignore impossible condition
End of conversation
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.