The Artima Developer Community
Sponsored Link

Articles Forum
The DCI Architecture: A New Vision of Object-Oriented Programming

119 replies on 120 pages. Most recent reply: Jan 7, 2012 3:19 AM by Thorin Potjes

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 119 replies on 120 pages [ « | 1 ... 45 46 47 48 49 50 51 52 53 ... 120  | » ]
James O. Coplien

Posts: 40
Nickname: cope
Registered: May, 2003

Re: The DCI Architecture: A New Vision of Object-Oriented Programming Posted: Mar 25, 2009 3:27 PM
Reply to this message Reply
Advertisement
>Trygve alleges DCI makes code simper to read. This makes
> code much harder to debug.

I find it easier to debug because:

1.The context switches across business functions are fewer and more closely follow the mental model (role-based) than the programmer model (domain-based);

2. Inclusion polymorphism is almost completely gone. When I call foo I get foo: not one of many foos up and down the subtyping hierarchy.

3. I can find a test point for something of business value: that is, I can really do BDD. That makes it easier to develop test cases to support debugging.

4. I do less run-time debugging because the code is more readable at compile time.

I do not understand your claim of why it's harder to debug. Do you have a running example? Try debugging the examples in the book manuscript.

Flat View: This topic has 119 replies on 120 pages [ « | 45  46  47  48  49  50  51  52  53 | » ]
Topic: Effect Choreography in Flex 4 Previous Topic   Next Topic Topic: Cooperative Visitor: A Template Technique for Visitor Creation

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use