biot023
04-30-2003, 11:32 PM
Hallo.
Having only just recently got the hang of exceptions, I'm keen to utilise them, but I do know that there is some performance overhead associated w/ their use.
I don't know how much, though.
If I just ran everything in a try...catch block from the outset, would this effect speed too adversely (or at all)?
Or would peolpe reccommend using assert until I'm very confident of my code, then turning it off?
I hate passing bools everywhere, cuz I always lose track of them.
Cheers for any input,
Doug.
Having only just recently got the hang of exceptions, I'm keen to utilise them, but I do know that there is some performance overhead associated w/ their use.
I don't know how much, though.
If I just ran everything in a try...catch block from the outset, would this effect speed too adversely (or at all)?
Or would peolpe reccommend using assert until I'm very confident of my code, then turning it off?
I hate passing bools everywhere, cuz I always lose track of them.
Cheers for any input,
Doug.