[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modelling in CS and Physics




Hi anh Ut Say,
--- U't Say <utsay@yahoo.com> wrote:
>    The book provides some sort of analysis, to help
> the designer in
> choosing the patterns. 

  Yes, they do. However, the reader can choose from a list of patterns
imposed by the authors. The essense of programming is to model or to
simulate the reality.
Few subjective patterns cannot cover the reality. For me this is kind
of cutting the reality and enforce it into a small box.


Let's say if an application
> has a set of
> requirement criteria and one or more patterns able
> to fulfill; then the
> patterns' consequences should be consider to narrow
> down the selections.
> If it boils down that more than one can do the job
> then performance and
> resource (through profiling) should be applied to
> select the "correct"
> one.

  I see patterns as reusable techniques you can use to save some design
works, but they are far from being tailored for a given problem.


>    Agreed. But this applies to any programming
> languages, not just C ->
> C++.

  Yes. That is why I used the word objectification of a structural
code. This is just an example of what I meant.
 
>    IMHO, that there is very little "information" to
> do this kind of
> translation successfully. 

   Yes. Business aalways based on the lack of information :-))


> The biggest problem still remain in how can we
> exactly describe/represent the problem as the input,
> so that we can devise a program to generate the solution as output. 
> 

    I see clearly that the structural code alone is not enough. We need
something additional.

>    All of these OO models & diagrams (UML, ER...)
> did come to help, but
> unfortunately these only address the "output"
> (implementation) part of the
> problem and not to depict the problem itself.

    These tool need to much intelligence and manual work. They are just
an interface for you to enter your design ideas. You still have to go
step by step interactively.

Cheers
Aiviet


__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com