When I was learning VB6 my teacher told me to be careful about when to use Try Statements because it ate up performance, especially Try's within Try's.
Well I'm working on a huge .Net database application and I see tons of places that I'm using Try Statements. Pretty much whenever I'm attempting to add a record or fill a datatable... I guess I'm playing it safe.
Our customers won't be using 4ghz PCs, but they're not going to be using 800mhz machines either. Probobly somewere in the middle.
Is there still a performance stigma around Try statements? In a lot of books I'm reading they use them all the time without any notes about performance or costing extra memory or anything.
Well I'm working on a huge .Net database application and I see tons of places that I'm using Try Statements. Pretty much whenever I'm attempting to add a record or fill a datatable... I guess I'm playing it safe.
Our customers won't be using 4ghz PCs, but they're not going to be using 800mhz machines either. Probobly somewere in the middle.
Is there still a performance stigma around Try statements? In a lot of books I'm reading they use them all the time without any notes about performance or costing extra memory or anything.