Eric Raymond has this similar quote in the influential book of his, “The Cathedral and the Bazaar” [1]:
“Good programmers know what to write. Great ones know what to rewrite (and reuse).”
I think it fits perfectly.
[1] http://www.catb.org/~esr/writings/cathedral-bazaar/cathedral-bazaar/ar01s02.html