User Tools

Site Tools


patterns:parameter_object

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
patterns:parameter_object [2013-08-04 15:04] christianpatterns:parameter_object [2013-08-04 15:05] christian
Line 19: Line 19:
   * A second problem is the evolution of method signatures. There are circumstances where there is the chance that in the future further parameters will be added without all the users of the method needing the new parameter. [[glossary:Events]] are an example for that. Normally a change to a method parameter technically requires every caller to change also---independent of whether the caller is //logically// required to change. This leads to [[glossary:ripple effects]] and [[glossary:shotgun surgery]].   * A second problem is the evolution of method signatures. There are circumstances where there is the chance that in the future further parameters will be added without all the users of the method needing the new parameter. [[glossary:Events]] are an example for that. Normally a change to a method parameter technically requires every caller to change also---independent of whether the caller is //logically// required to change. This leads to [[glossary:ripple effects]] and [[glossary:shotgun surgery]].
  
-===== Structure =====+===== Solution =====
  
-===== Dynamics ===== 
  
-===== Implementation Hints =====+==== Structure ==== 
 + 
 +==== Dynamics ==== 
 + 
 +==== Implementation Hints ==== 
  
 ===== Variations ===== ===== Variations =====
patterns/parameter_object.txt · Last modified: 2021-10-18 22:24 by christian