begin quoting Todd Walton as of Sat, Dec 03, 2005 at 04:20:53PM -0800: > On 12/3/05, Stewart Stremler <[EMAIL PROTECTED]> wrote: > > public java.lang.String getValueFromPropertyUsingKey( String keyForProperty) > > > > (Honest to goodness, saw this just last week. In production code.) > > Self documenting code, right?
I've been known to throw things at people for using that excuse. So far, the (a) targets have been friends and (b) missiles have been soft, but it does tend to frighten the interns. What was annoying about the above example is that the class in question composed a property object. And nothing else. -Stewart "Just wait until I can start organizing code reviews" Stremler -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
