In a perfect world, there wouldn't be any need for software tools and libraries. They exist because we need to solve problems. A piece of code that doesn't solve a problem is just waste.
As soon as you start writing code, you are increasing the complexity in the world. There must be a very good reason for doing so.
Programming is affected by hardware and human limitations. It's necessary to respect those constraints, as failing to do so results in waste and pain. But a great design is the product of a different kind of constraint: it's the result of a self imposed commitment to simplicity and elegance. The signature of a great design is its frugality.