This story is unavailable.

“Here’s a sign: Once you are copying and pasting code, only to change a few variables, it’s time to keep that block in a single place, say a function. Another sign: When two or more lines of code in your work look the same with just variable name differences, DRY your code.”

Very true.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.