4 ms·
I agree the article isn't written well, but I don't think your response is much better. As with all things in software engineering, DRY is a principle that nee
by dasil003 16y ago
I agree the article isn't written well, but I don't think your response is much better. As with all things in software engineering, DRY is a principle that needs to be applied judiciously. I believe the OA is referring in part to the common situation where some code can be "DRY"ed by replacing two methods with a single parameterized method. These can be quite nuanced decisions to make in practice.