Hi All,
What do you think of the following statement: "Every method you create should have a try-cacth block?"
I personally disagree with that statement coz firstly not all methods throw exceptions so I only include it when there's a possibility of an error + I also think it can slow down a program substantially.
Many Thanks
Eric
What do you think of the following statement: "Every method you create should have a try-cacth block?"
I personally disagree with that statement coz firstly not all methods throw exceptions so I only include it when there's a possibility of an error + I also think it can slow down a program substantially.
Many Thanks
Eric