• Kevin
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    Rust has an RFC that wants to consider yeet as a keyword for throwing an exception, I think they’re currently keeping it as a placeholder just in case

    • vanZuider@feddit.de
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      AFAIK they’re not seriously considering it as a keyword, but they agreed that in all discussion about the semantics of exceptions they will use “yeet” as a placeholder for the keyword, so people will actually discuss the semantics and not whether the keyword is gonna be “raise”, “throw”, “except” or whatever (so-called Bikeshed Effect)