17

"Do, or do not. There is no 'try'." - Yoda

Comments
  • 6
    I'm going to use that the next time I get in trouble for forgetting to add exception handling to my code.
  • 6
    Didn't catch that.
  • 4
    do() || !do()

    There doesnt need to be a try, it always works
  • 3
    @GodlikeBlock assuming do() is pure and stateless
  • 0
    "Try everything" - Shakira
  • 0
    @GodlikeBlock in many languages it will throw an exception though. Do is a reserved keyword
Add Comment