Monthly Archives: May 2015

The Actual Cost of Duplicated Code

I’ve attemptedĀ to find studies detailing the cost of duplicate code within projects. We can all spout the problems these clones produce, but can we quantify the cost from actual studies of real projects? Apparently not. One pundit suggests the if … Continue reading

Posted in clone, software | Tagged , , , | Leave a comment

Complexity for JavaScript

The control of complexity control presents the core problem of software development. The huge variety of decisions a developer faces on a day-to-day basis cry for methods of controlling and containing complexity. Cyclomatic complexity as defined by Thomas McCabe in … Continue reading

Posted in javascript, software | Tagged , , , , | Leave a comment

A Basis for Clean Code: Magic 7 +/- 2

Complexity poses a primary obstacle for developers. Our human neurology has a limit to complexity wired into each of us. The basics of Clean Code techniques can ease understanding and productivity by decreasing what we must keep in our working … Continue reading

Posted in code reading, psychology, software, software development, stories, techniques, therapy | Tagged , , | Leave a comment

Test Driven Development

“We are uncovering better ways of developing software by doing it and helping others do it.” Test-driven development (TDD) is a technique for ensuring that your code does what you think it does. It’s particularly relevant for JavaScript, with its … Continue reading

Posted in software, test | Tagged , , , | Leave a comment

Duplicated Code

Duplicated code must surely rank near the top for bad code. The problem is that a new feature or bug will surely cause changes to one clone. Then the other clones will be silently ignored. This will likely create incorrect … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Duplicated Code: What to do?

How much does duplicated code really cost a project? I’ve tried to find studies detailing the cost of duplicate code within projects. We can all spout the problems these clones produce, but can we quantify? Apparently not. One pundit suggests … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment