A while ago I saw this link on programmers.stackoverflow.com. It says that striving to "always be dispensable" is a wise career decision for programmers, and has a net benefit for all parties involved. I found this to be profound and have adopted it as my programming mantra.
"Delegate, collaborate, document, and build to last."