Try....Catch
-
Slacker007 wrote:
surgeon, or the patient
I thought it was dog or fire hydrant.
PIEBALDconsult wrote:
I thought it was dog or fire hydrant.
Some days you're the pigeon, some days you're the statue!! Sometimes you get the elevator... usually you get the shaft!!
Quad skating his way through the world since the early 80's... Booger Mobile - My bright green 1964 Ford Falcon - check out the blog here!! | If you feel generous - make a donation to Camp Quality!!
-
Working for a small IT firm I was not making much progress on a project using VB.NET so my boss who was once a programmer (VB6) decided to do some pair programming with me. We googled some code that had a try..catch block, the dude had no idea that the "Try" part was part of the code. He thought the author was saying i should try the code below. I stopped straight away and told him to go back to his office. Guess I should have asked what he thought the catch part was for. My advice to all owners of all small software development firms ; have some idea of what technologies and programming languages your employees are using to make all those products that bring in all that money for you.Dont emabarass yourself!
I tell my boss the reason I took the team to c# was so he would no longer understand the syntax and could not interfere! Works too, he gets horribly frustrated when he peers over the shoulder of one of the developers and can't understand the syntax. The real reason is that there is more support for c# on the interwebs!
Never underestimate the power of human stupidity RAH
-
Working for a small IT firm I was not making much progress on a project using VB.NET so my boss who was once a programmer (VB6) decided to do some pair programming with me. We googled some code that had a try..catch block, the dude had no idea that the "Try" part was part of the code. He thought the author was saying i should try the code below. I stopped straight away and told him to go back to his office. Guess I should have asked what he thought the catch part was for. My advice to all owners of all small software development firms ; have some idea of what technologies and programming languages your employees are using to make all those products that bring in all that money for you.Dont emabarass yourself!
I worked on a small team that had a boss like that. Our worse nightmare was to walk in on Monday morning and see the boss's sleep-deprived face. "I just got a new feature almost working this weekend, I am sure that one of you can finish this off by lunch time." Meanwhile, various interactions broke four other modules in the system. Aarrgh!
-
Working for a small IT firm I was not making much progress on a project using VB.NET so my boss who was once a programmer (VB6) decided to do some pair programming with me. We googled some code that had a try..catch block, the dude had no idea that the "Try" part was part of the code. He thought the author was saying i should try the code below. I stopped straight away and told him to go back to his office. Guess I should have asked what he thought the catch part was for. My advice to all owners of all small software development firms ; have some idea of what technologies and programming languages your employees are using to make all those products that bring in all that money for you.Dont emabarass yourself!
A useful DotNet error handling structure that you could have explained to him in five minutes. I dislike when 'knowledge of particular language syntax' is confused with 'programming ability'. It's like if Einstein asked you what some english word meant, so you assume he is an idiot. I wonder who is designing the GUI, and defining the functionality of your application.. eg all the stuff that can be done before you start typing code... eg 90% of the software design.
-
Thanks for posting this. I didn't think try-catch was originally part of C++, but was going crazy trying to remember clearly that far back since I couldn't find anything about it. As I recall it wasn't even part of MS's C++ compiler at first, although they did have macro (?) extensions that implemented it.
We can program with only 1's, but if all you've got are zeros, you've got nothing.
-
A useful DotNet error handling structure that you could have explained to him in five minutes. I dislike when 'knowledge of particular language syntax' is confused with 'programming ability'. It's like if Einstein asked you what some english word meant, so you assume he is an idiot. I wonder who is designing the GUI, and defining the functionality of your application.. eg all the stuff that can be done before you start typing code... eg 90% of the software design.
I would have explained to him had he asked. I am not bragging about my programming abilities. I honestly think my boss is a better programmer than me. However he is so out of touch with how I do what he instructs me to do . I am 100% comfortable with this....i think my job is very secure. He should just stop disturbing me thats all. I would explained to him the syntax in 5 minutes but that would have encouraged him to continue disturbing me. By the way I do not think your Einstein analogy is appropriate for this situation.
-
"Well, you can
try
this code, but thecatch
is that it swallows Exceptions." -
You have a way with words. You will be a boss in the near future. You are like a puppy that has swallowed a dictionary. Thats not my line got it from Dilbert, I am not sure its his line either.
-
Then it's good thing I can't produce a laminar flow.
-
I would have explained to him had he asked. I am not bragging about my programming abilities. I honestly think my boss is a better programmer than me. However he is so out of touch with how I do what he instructs me to do . I am 100% comfortable with this....i think my job is very secure. He should just stop disturbing me thats all. I would explained to him the syntax in 5 minutes but that would have encouraged him to continue disturbing me. By the way I do not think your Einstein analogy is appropriate for this situation.
-
Working for a small IT firm I was not making much progress on a project using VB.NET so my boss who was once a programmer (VB6) decided to do some pair programming with me. We googled some code that had a try..catch block, the dude had no idea that the "Try" part was part of the code. He thought the author was saying i should try the code below. I stopped straight away and told him to go back to his office. Guess I should have asked what he thought the catch part was for. My advice to all owners of all small software development firms ; have some idea of what technologies and programming languages your employees are using to make all those products that bring in all that money for you.Dont emabarass yourself!