Elon Musk says

“Constantly think about how you could be doing things better.”

More on this...

“Measuring programming progress by lines of code is like measuring aircraft building progress by weight.”