Too much magic

February 4th, 2004

If you're even remotely involved in designing and/or programming applications, read TooMuchMagic - JicarillaWiki (via 'cyberlizard'). One particular instance of this phenomenon that I've experienced:
MyInterface intf = (MyInterface)obj;
Method meth = intf.getClass().getMethod("blah");
meth.execute(intf);
(code not actual code, method signatures might be wrong, but you'll get the point)

Leave a Reply