Search:

Type: Posts; User: helloworld922

Search: Search took 0.10 seconds.

  1. Replies
    6
    Views
    2,200

    Re: throwing and returning

    The performance difference is almost negligible :P This really only applies when you're throwing a ton of exceptions, then maybe you would want to look into other ways to structure your code.
  2. Replies
    6
    Views
    2,200

    Re: throwing and returning

    Throwing interrupts normal program flow. I guess in a sense it does act like a return statement, but like literallyjer said, it's looking for something to catch the exception it threw (well,...
Results 1 to 2 of 2