Optimizing things is always science or better, a methodology. Programming is a creative form of expression. Maybe the most creative one. But not everything creative is art.