What is better a long-term or short-term investment?

Are short-term investments ever better than long-term ones?