Relative Content

Tag Archive for dry

The importance of duplicate code removal [duplicate]

This question already has answers here: Why is DRY important? (15 answers) Closed 9 years ago. I tried to explain to a coworker the gravity of having duplicate code in a project, on this piece of code: + (void)createIapInParse:(SKPaymentTransaction *)transaction { Reachability *reach = [Reachability reachabilityWithHostname:@”www.facebook.com”]; if ([Social getFBUser]) { NSString *iapId = [Util getBundleNameFromIdentifier:transaction.payment.productIdentifier]; […]

How to sell DRY architecture [duplicate]

This question already has answers here: How to convince my boss that quality is a good thing to have in code? [duplicate] (25 answers) Closed 9 years ago. I’m sure most are familiar with the phrase DRY in the software world – Don’t Repeat Yourself. This is a fundamental principle of good software development. Here […]