CSC/ECE 517 Fall 2009/wiki3 4 br
Topic: DRY principle for data Most of the literature on the DRY principle relates to code. But the principle also applies to data. Survey the issues related to copying the same data, and give reasons (e.g., caching) why it might sometimes be desirable, and how one should decide where it is helpful not to follow this general rule.
DRY 3 (or Don't Repeat Yourself) describes ...
DRY principle for data
An overview of the concepts
Don't Repeat Yourself
- Example: DRY
class Person attr_accessor :name end
DRY principle - bad when used with data
DRY principle - good when used with data
Conclusion
References
1.
2.
3.
4.
5.
6.
7.
8.
9.