01/15/10
Test for Required Behavior, not Incidental Behavior (my feedback for a book article at "97 Things Every Programmer Should Know") -
Categories: Software design -
admin
@ 08:29:23 pm
Homepage for the book:
http://programmer.97things.oreilly.com
The article I commented:
http://programmer.97things.oreilly.com/wiki/index.php/Test_for_Required_Behavior%2C_not_Incidental_Behavior
My comments about the above article:
http://programmer.97things.oreilly.com/wiki/index.php/Talk:Test_for_Required_Behavior%2C_not_Incidental_Behavior
My contributions:
http://programmer.97things.oreilly.com/wiki/index.php/Special:Contributions/TomasJohansson
/ Tomas Johansson
01/13/10
Thinking in States (my feedback for a book article at "97 Things Every Programmer Should Know") -
Categories: Software design -
admin
@ 01:32:11 pm
Though, the book seems to be scheduled for printing in february 2010, according to statement at:
http://groups.google.com/group/97things-programmer/browse_frm/thread/ba60d1c1fd9e3e95
so, my contributions may not become included in the book, even if the decision makers would agree about my opinions there...
Homepage for the book:
http://programmer.97things.oreilly.com
The article I commented:
http://programmer.97things.oreilly.com/wiki/index.php/Thinking_in_States
My comments:
http://programmer.97things.oreilly.com/wiki/index.php/Talk:Thinking_in_States
/ Tomas Johansson
10/08/07
Encapsulate your classes and avoid exposing references to mutable private fields -
Categories: Software design -
admin
@ 01:56:36 am
This posting discusses the (too unknown) concept of encapsulating data. When a private field is mutable, you will not achieve much encapsulation if you provide a public accessor returning a direct reference to the data that you declared as private.
05/07/07
GRASP Controller - an object that should "only" (?) "delegate" (?) and "coordinate" (?) "work" (?) -
Categories: Software design -
admin
@ 08:16:46 pm
This posting discusses the vague concepts "delegation" and "coordination" of "the work" and "business rules", and in particular in the context of the definition and guidelines for the GRASP Controller.