Is cloning to satisfy the compiler bad practice

Back to list2025-10-07
You

Is cloning to satisfy the compiler bad practice?

ChatGPT

It is a legitimate first draft. Get it working with clones, measure, then remove the ones that matter. Fighting lifetimes on a prototype costs days and usually ends with the same structure you would have reached by refactoring later.