Talk: Did you write any legacy code today?

Your own code might be someone else's legacy code tomorrow. In what state will they find it?

Do you keep this in mind when you design your code, write your tests, choose your technologies and refactor? Or let's turn it around: If someone hands you legacy code and asks you to "please fix", what should be in your toolbox?