in reply to Re^2: Am I evil for doing this?
in thread Am I evil for doing this?

Well, you're going to burn when someone decides to subclass $package and override $function, whereas jdporter's code is going to keep on working as (probably) expected. Or when someone's going to refactor the whole code and move $function to a superclass of $package.

Replies are listed 'Best First'.
Re^4: Am I evil for doing this?
by Whitehawke (Pilgrim) on Mar 10, 2005 at 23:11 UTC

    You're absolutely right, but I'm not worried. The corporate culture at this company is such that it will never happen. (Though, granted, I'm hoping to change things...just a couple of months ago, I convinced them to buy a development server. Now I just need to convince them to develop and test on it, instead of on the production machine.)

    That said, I don't actually want to be evil, so I did it jdporter's way.