Leo Sutic wrote:
From: Niclas Hedhman [mailto:[EMAIL PROTECTED]

Verbosity Contest and the Winner is LEO S.! :o)

But which Leo S? Some more verbosity would have helped here, too... :)

we shall dub one "LSD" and the other "/LS", and here-after it shall be as clear as Pea?rls? forever more :D


OK, here's a condensed version - using more shaky Java stuff than most
people consider healthy:

    if( null != value )
    {
        (m_attributes = ( m_attributes == null ? new HashMap() :
m_attributes )).put( name, value );
    }
    else if( null != m_attributes )
    {
        m_attributes.remove( name );
    }

In this case, maintenance programmers may choke on it with an OhGodNoException when they suspect there's a bug in there somewhere.

not wishing to repeat myself over and over and over again, I shall repeat myself: unit test. :P


back to my corner!

- LSD (the one and only)



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



Reply via email to