Term: depreciated
Example: i rewrote your application to replace your nasty script-kitty scribble with efficient, and elegant object based code, thus  your drivel has been depreciated
Definition: the state of feature(s) of a programming language, or sections of code that have been rendered obsolete