Changes

Jump to navigation Jump to search
189 bytes added ,  20:10, December 14, 2009
the practice of defining and describing something in a central place, and then referring to this in other places. It's especially helpful for things that are rapidly changing or complex
Line 1: Line 1: −
'''Once and only once'''  
+
'''Once and only once''' is the practice of defining and describing something in a central place, and then referring to this in other places. It's especially helpful for things that are rapidly changing or complex.
 
It is a rule of thumb in [[agile software development]]. A function should be defined in only one place, because it is easier to maintain that way. Even a few lines of code or one complex formula is better wrapped into a method or subroutine.
 
It is a rule of thumb in [[agile software development]]. A function should be defined in only one place, because it is easier to maintain that way. Even a few lines of code or one complex formula is better wrapped into a method or subroutine.
 
[[Category:Software]]
 
[[Category:Software]]
Siteadmin, Check users, nsTeam1RO, nsTeam1RW, nsTeam1_talkRO, nsTeam1_talkRW, oversight, Administrators
30,650

edits

Navigation menu