paint-brush
“Cumulative Code” smellby@the-code-gang
1,483 reads
1,483 reads

“Cumulative Code” smell

by The Code Gang6mDecember 16th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In this post, we will discuss a possible problem in the code that can be identified from the history of the source code. We call this “smell” <em>cumulative code</em>. The term <em>cumulative code</em> is used in this post to describe the code that changes mostly by additions and rarely by modifications of the existing code. Every change is essentially new code added in the same module when refactoring would have been a better option. New features are introduced by adding a new piece of code that changes or extends the behavior of the existing code.

Company Mentioned

Mention Thumbnail
featured image - “Cumulative Code” smell
The Code Gang HackerNoon profile picture
The Code Gang

The Code Gang

@the-code-gang

L O A D I N G
. . . comments & more!

About Author

The Code Gang HackerNoon profile picture
The Code Gang@the-code-gang

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Bitcoininsider
Partlab
Aryan