Wednesday, July 25, 2007

Exception handling is not the panacea to everything

Please, for the sake of a thousand Gods, stop writing try blocks that are over 1500 lines long !! I am having a royal headache ..

And worse, dont handle it like this - (exasperatedly pointing my hands below)

        } //end try
        catch(Exception e)
            logger.log("Getting List failed");


Atleast log the exception and print the trace...

And they say I am slow.. Yes, I will be slow when I am doing someone else's work (after completing the tasks assigned to me and you know about it), cleaning up such code and getting it to work.


Post a Comment

Subscribe to Post Comments [Atom]

<< Home