Re: Biz Tree Challenge





On Jan 25, 5:05 pm, Robert Martin <uncle...@xxxxxxxxxxxxxxxx> wrote:
On 2007-01-24 16:03:30 -0600, "topmind" <topm...@xxxxxxxxxxxxxxxx> said:

Buchman's trash lives on in OO. New name, same crap.

...OO is not a network database. OO is not a database.

Okay, "network structures".

OO
is a programming technique that involves tables of pointers to
functions. You like tables, don't you?

Actually, those decisions tables that you like so much are very similar
to the vtables used in OO languages to select behaviors.

If such were query-able and dynamic and better normalized and didn't
require repetative set-gets and came built-in with relational operators
(or at least a standard set of collection handling behaviors), perhaps
I would warm up to them a bit. OO code is like a static database of
sorts.

Also, relational requires certain rules. OO does not. This means that
every OO developer will produce something quite different. The
relational rules make it easier to follow and disect structures. It is
similar to Goto's versus nested blocks. Goto's allow more freedom, but
also create vast inconsistencies of style. It is building-codes versus
shanty towns.

At least you are moving in the right direction. It is just that first
you'll have to climb a crate full of Everests.

Technically, OO is generally maps of pointers to maps. Maps are the
fundimental structure of OO, not tables.

--
Robert C. Martin (Uncle Bob) | email: uncle...@xxxxxxxxxxxxxxxx

-T-

.



Relevant Pages

  • Re: Run-time representation of classes
    ... byte or word maps rather than bits). ... which may hold any number of useful function pointers. ... for the tagged reference would be). ... for simple object types, the GC calls a "mark handler", which is a special ...
    (comp.compilers)
  • Re: Help with containers, pointers, and threads.
    ... use pointers to elements in maps and vectors. ... As I understand it, the pointers could be invalidated if I had say, a thread, adding items to the map or list in the background right? ... Are the .net collection classes thread safe? ...
    (borland.public.delphi.non-technical)
  • Help with containers, pointers, and threads.
    ... I use pointers to elements in maps and vectors. ... Are the .net collection classes thread safe? ...
    (borland.public.delphi.non-technical)
  • Re: Sorting a map by value
    ... >> You can't sort maps. ... >What are the arguments to this functor (values, pointers or ... The same as to std::less, namely (const reference to) key_type, and it ...
    (comp.lang.cpp)