+ 2
What is meant by DRY
6 Answers
+ 9
DRY stands for "Don't Repeat Yourself "
that means you should not have the same piece of code twice (or more ) in your program.
If this is needed, you can make a function from this piece of code
+ 3
Don't repeat yourself
I. e. never copy & paste the same peace of code in your program, but create a function from it and reuse the function
+ 1
When you will need some function more than one time, make sure this function use 'return'
+ 1
@guest013 @carsten Thankx
- 1
@carsten sorry I didn't understand you
- 1
don't repeat yourself