I’ve had success with WET - write everything twice. If you copy paste something three times it’s a good candidate for abstraction.
Ultimately these are just rules of thumb and none will fit all cases. I just found DRY to be too aggressive in practice.