If not IsEmpty() then DeleteAll()

My previous post on good and bad coding practices in terms of the performance touched upon one particularly contradictory coding pattern – calling IsEmpty before DeleteAll and ModifyAll functions.

Source : Key to Good Code
Read more…