Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)

From: Phlip <>
Date: Wed, 14 Jun 2006 13:34:36 GMT
Message-ID: <MfUjg.44462$>

x wrote:

>> I use "behavior" to mean "anywhere in C++ that you can put a breakpoint".
>> Structure is the places where you can't.
> I remember I defined breakpoints in a debugger, not in C++.
> The language standard for C++ defined breakpoints by any chance ?

Please don't play the news:comp.lang.c++ Standard Game. Don't pretend you don't know something about C++ just because it's not in The ISO Standard.

All known implementations of C++ do not interpret things like 'class' at run-time. They get compiled first.

> I also remember I can put a breakpoint on a boolean expression that is not
> a
> part of the application. Are such boolean expressions behavior ?

? Do you mean an expression before main? The initialization of a static/global variable?

> What do you mean by structure ? "{" and "}" ?
> The place between the lines ?

How would you define structure and behavior?

> Ah, the runtime path of a program, each place in the source file could
> have
> many breakpoints on it.
> Then structure is image of a program in a file or something like that.
> Have I guessed it right ?

What's to guess? We are dealing with concepts that you use all the time (if you are indeed a programmer). Naming them for the first time in your career might be a little disconcerting...

And I want to know how someone could possibly write a book about OO that doesn't mention "behavior". Objects aren't very useful without it...

  Phlip <-- NOT a blog!!! 
Received on Wed Jun 14 2006 - 15:34:36 CEST

Original text of this message