10/08/07

Permalink 01:56:36 am, by admin Email , 40 words, 169 views   English (US)
Categories: Software design

Encapsulate your classes and avoid exposing references to mutable private fields

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

Permalink 08:16:46 pm, by admin Email , 30 words, 156 views   English (US)
Categories: Software design

GRASP Controller - an object that should "only" (?) "delegate" (?) and "coordinate" (?) "work" (?)

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.

Tomas Johansson's blog

July 2009
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Search

Categories

Archives

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 1

powered by
b2evolution