What I mean by pure OO C++ is full blown patterns implemented using dynamic polymorphism etc, etc. You go through about 3 or 4 layers of indirection via abstract classes to go from caller to callee. You need 6-8 windows open on the screen just to understand what some bit of code is doing. And yes, its even worse when it's asyncronous threaded code (which I've had to do my share of).
By comparison, doing MPI programming using a simple class reflection library is total dream. And that's even without the sophistication of using TotalView. See some of my papers on ClassdescMP. My point wasn't that OO isn't useful or has its place. It is definitely an important technique. Just that when overused, it actually adds to the complexity of the solution. Cheers On Sun, May 24, 2009 at 07:42:34PM -0600, Douglas Roberts wrote: > Interesting that you'd say OO C++ is hard to debug. With the proper tools, > I've found it as easy as, well, interpreted LISP. Now distributed message > passing code, on the other hand, is hard to debug. I don't care what > language it was written in. The proper tools, like TotalView help a lot, > but distributed acynchronous code is just plain difficult to debug. > > --Doug > > On Sun, May 24, 2009 at 7:37 PM, russell standish > <r.stand...@unsw.edu.au>wrote: > > > > > > > Most of the time this comment comes up, it seems to mean "C++ is not > > _just_ object oriented". It is capable of being used in many different > > programming styles. > > > > FWIW, C++ programs written in a pure OO style are hard to understand > > and debug. OO is a useful tool in the toolbox, not the panacea of > > everything. > > > > Cheers. > > -- > > > > > > ---------------------------------------------------------------------------- > > Prof Russell Standish Phone 0425 253119 (mobile) > > Mathematics > > UNSW SYDNEY 2052 hpco...@hpcoders.com.au > > Australia http://www.hpcoders.com.au > > > > ---------------------------------------------------------------------------- > > > > ============================================================ > > FRIAM Applied Complexity Group listserv > > Meets Fridays 9a-11:30 at cafe at St. John's College > > lectures, archives, unsubscribe, maps at http://www.friam.org > > > ============================================================ > FRIAM Applied Complexity Group listserv > Meets Fridays 9a-11:30 at cafe at St. John's College > lectures, archives, unsubscribe, maps at http://www.friam.org -- ---------------------------------------------------------------------------- Prof Russell Standish Phone 0425 253119 (mobile) Mathematics UNSW SYDNEY 2052 hpco...@hpcoders.com.au Australia http://www.hpcoders.com.au ---------------------------------------------------------------------------- ============================================================ FRIAM Applied Complexity Group listserv Meets Fridays 9a-11:30 at cafe at St. John's College lectures, archives, unsubscribe, maps at http://www.friam.org