Ahhhh Medusa code. So named because anyone who looks at it gets so petrified they turn to freeze up and turn to stone.

I once worked for a company where one of their classes was about 200K in size, the reason was the developer thought that in every you needed to catch every exception thrown, wrap it in something else, and re-throw it.

Laugh... I laughed so hard I almost peed in my pants when I saw it. (and yes, the company was dumb enough to pay an expensive contractor to "optimize" the code. he corrected the exception handling, which reduced the code size and sped things up slighly, for which he got glowing praise by the management).

Al.

Dave Newton wrote:
--- On Fri, 8/1/08, Al Sutton <[EMAIL PROTECTED]> wrote:
It splits your code into more manageable chunks, [...]

You're right, it does split *my* code. Unfortunately (well... fortunately, 
really) that code isn't mine and I'm forbidden from even looking at it.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
--
Al Sutton

W: www.alsutton.com
T: twitter.com/alsutton


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to