Contextual Lessons in DDD

written by Scott Muc on Wednesday, November 04 2009

Agile Vancouver is nearly over and after the bus ride home I had a great real world example of where Eric Evans' discussion on contexts in modelling was quite apparent. 

On my CBC messenger bag I have some buttons from some music artists I like. One of the buttons is for an artist named Ben Lee and the button had the characters "I ♥ B L".

Now change the context and drop me amongst a whole whack of developers and I started getting asked "you love business logic?". 

Lesson?

My button is meaningless without context. Amongst a bunch of indie music hipsters I would be getting praise for my support of Ben Lee. Around a group of developers, I get questioning glances about my outward expression of love for business logic. Who knows, maybe if I was in a video store I would get nods from fans of Bruce Lee.

Or maybe I should consult the domain expert and figure out exactly what this gosh darn button stands for and make it more explicit.

Similar Posts

  1. A New Beginning (or Goodbye 20's, Hello 30's)
  2. Introducing Secretary.Net
  3. My Developer Resolutions For 2010

Post a comment

Options:

Size

Colors