Meta's former "coding machine" says that software engineers often make the same mistakes that can hurt their careers — and they can be applied to every profession.