User Tools

Site Tools


why_can_t_i_reuse_a_role_across_multiple_contexts

Differences

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

Link to this comparison view

why_can_t_i_reuse_a_role_across_multiple_contexts [2014/01/26 21:30]
jcoplien
why_can_t_i_reuse_a_role_across_multiple_contexts [2014/03/11 12:59] (current)
gazoot Linked to mailing list
Line 3: Line 3:
  
  
-This has been discussed many times on the Email list; a review of the treatment of the topic there might also be informative.+This has been discussed many times on the [[https://​groups.google.com/​forum/#​!forum/​object-composition|Email list]]; a review of the treatment of the topic there might also be informative.
  
 A //Role// is a name with associated responsibilities. That name makes sense only in a Context. A Shape can move and draw in a graphical context; a Cowboy can move, draw and shoot in a Western movie context. Having a role — named however you like — that can draw and shoot does not make it a candidate for reuse in another context. A //Role// is a name with associated responsibilities. That name makes sense only in a Context. A Shape can move and draw in a graphical context; a Cowboy can move, draw and shoot in a Western movie context. Having a role — named however you like — that can draw and shoot does not make it a candidate for reuse in another context.
why_can_t_i_reuse_a_role_across_multiple_contexts.1390771811.txt.gz · Last modified: 2014/01/26 21:30 by jcoplien