I've always found DRY to be more useful when applied to data rather than code. Eg don't have two versions of an enum, or a mapping, or the information in some database.
In some cases DRY is also related to parse-don't-validate. Don't repeat validation all over, but have a single canonical parser and a single canonical data transfer object. Typescript frontend+backend makes this even easier.
In some cases DRY is also related to parse-don't-validate. Don't repeat validation all over, but have a single canonical parser and a single canonical data transfer object. Typescript frontend+backend makes this even easier.