4 ms·
In my opinion you should usually not code for DRY when the repetition is "accidental," only when it expresses a principle from your domain (your "business logic
by pjungwir 12y ago
In my opinion you should usually not code for DRY when the repetition is "accidental," only when it expresses a principle from your domain (your "business logic"). Sharing "ip" between "iphone" and "ipod" seems like a perfect example of accidentally DRY. I think your colleague is trying too hard. Code should be boring!