Re: Simple inheritence question




Ilja Preuß wrote:
Mark Nicholls wrote:

If the software model solves the business model then the business
model must be consistent....i.e. there must be some sort of embedding
of the business model in the software one.......you cannot loose the
ugliness of the business model.

A model of an ugly problem doesn't need to be ugly. In fact I'd say one of
the points of modeling is to find the right abstractions that transform the
ugliness into prettiness.

Cheers, Ilja

I'm splitting hairs again, I know....it's connected to an ongoing theme
of my exchanges with Mr Martin about 'models' and the mapping from
problem domain to solution domain....sometimes I can't help myself.

yes and no....

if the software truly models the problem domain, then there must be an
embedding of the problem domain in the software model.....if you loose
anything then the models are not consistent.....then your solution is
flawed.....you cannot loose semantics (or invert it!) without creating
inconsistency.

If they ask you to take 1 and 1 and make 3 there is nothing you can do
about it....you either do it and are 'ugly' or don't and are flawed.

but

I do accept that some problem domains look ugly as isolated examples of
a general case......so in that case if you attempt to model the general
case, it will be less 'ugly'.....that is not to say that you have lost
anything just embroidered it.....

P.S.

this does of course rather fly in the face of YAGNI.....that doesn't
really bother me.

P.P.S.

it also presupposes we have a common sense of 'uglyness'.....I suspect
many people would find my code horrific....and probably vice verca.

.



Relevant Pages

  • Re: Simple inheritence question
    ... business model in the software one.......you cannot loose the ugliness ... of the business model. ... The ugliness of the business model can be moved outside the software ... "The aim of science is not to open the door to infinite wisdom, ...
    (comp.object)
  • Re: Simple inheritence question
    ... of the business model in the software one.......you cannot loose the ... ugliness of the business model. ... A model of an ugly problem doesn't need to be ugly. ...
    (comp.object)