Do not reinvent the wheel.

Ask what already exists that can fulfill my purpose?

in-terms-of-code, avoid repeating others either, integrate.