// This reply has not been reconstructed. You can just check it out.
Let's talk about my opinion directly .., so far, programs and software are still centered on data and restricted by data, which is not changed due to OO. but in this case,
Obviously, it is not that I agree that DataSet. DataSet is just a method to simplify the data structure,
Just like a database is a more basic means to extract data structure commonalities and thus simplify the data structure. This does not involve models. Martin compares table entry/Domain Models and so on,
No, but there is a misleading header here, that is, turning them into two problematic implementation methods, or even containing the opposite meanings.
Do not use RecordSet
(For example, DataSet) Whether RecordSet can simplify the data structure is the key to this form,
This is only because the data source + DataSet replaces the pure data source. Then, DTO is actually another means to help us better work,
There is no essential difference from RecordSet, but this is not the reason for the attack.
Then it's time to use issues such as no modeling. If no modeling is required,
So it becomes the way you attack, a collection composed of DTO or simple row data, directly entering other layers. Martin also admitted that there is a cost problem,
The key is that he made a wrong comparison and omitted some of the vertical layers based on different situations, resulting in different forms, as a horizontal comparison of several methods,
This deviates from the essence.
I'm not an academic, but OOA has a problem in my mind. Most programmers are not philosophers or even beginners of philosophy,
So we always focus too much on more specific things. In fact, it is your problem to decide whether to model, whether there is a RecordSet close to the data source, and so on.
Who did not say that computer science is a science that solves the original problems by adding a layer. These are inherently non-contradictory, and finally let Martin start like this,
With the help of Jdon/Javaeye both at home and abroad, it has become a different debate in various situations.
Programmers in China always worships large foreign countries too much.
But computer science, especially modern software science, is still a very immature science, so nothing is right, no matter who the speaker is.
In my opinion, how to write a "right" program can only be done through constant thinking and understanding. Why do I say that Jdon is a perfect place,
Because they use a lot of comments to a large extent as the principle of justice, the derivation will inevitably limit the use of their own thinking. After so many years, even the author of DP95 admitted that,
Many original concepts have many errors. Does this not explain the problem?
For me, DP95 of GoF is a real classic,
Because they precisely raised a lot of problems in the software development field, kicong explained how much their methods solve them. Later, these people,
This includes Martin, and many other Martin guys. When writing a book, the content of the selected topic is too complex,
As a result, their demonstration process only takes the form of their own examples, which is not truly universal.
In turn, compare Gosling and Anders
The Java Community is always a lively community (busy, good atmosphere, a lot of novel concepts, doesn't mean there is a correct direction ),
But eventually, RoR was a star riding a wall and being disabled. I don't want to say that you can check Anders interviews online,
Check whether C # is actually just a Java copy version. How are the different settings considered. From my perspective, due to lack of Turbo Creation
The experience of Pascal/Dephi is doomed to the breadth and depth of Gosling which can never be considered like Anders. It can only be an academic school;
Then, let's look at who is still engaged in technical work, and we will see where the gap is.
Yes, I admit, because Microsoft has too many sugar beans, a lot.. NET developers don't go deep into thinking, but in another direction, on the basis of a wrong start and end, they can always be infinitely close and cannot achieve the correct results. At the same time, is it really necessary for everyone to participate in the methodology discussion?
. NET
What is the route? There is no need for too many people to think about. In the end, the most advanced ideas are put forward by very few people,
But all people will use it (although the reality is still far behind ). This "few people" does not refer to the help of Microsoft,
It refers to a few people in the whole. NET community, but this style is the same as Microsoft's doing something and then most people use it. POO (here P doesn't mean Program,
Refers to Producer) is always a minority, which is also the most efficient way.
But we have to wait until this structure is actually mature,
To see his power. POO will naturally absorb the proven conclusions in the Java Community and the advantages of practical frameworks such as Rail. POO's height is doomed.
The NET Community and similar communities will never get busy with those topics in the Java Community. Is it necessary to have a Java Community?
In my opinion, the Java Community is indispensable because it is actually for all the real POO (either. NET/Java/others ).
.
You can take a look at projects like Lucene that can be quickly transplanted to. NET. the prosperity of these projects does not actually show the advantages of the Java Community,
Only the contribution of the Java Community to the entire development community. Different starting points determine different roles, just like Sun's creation of Java and IBM's benefits. That's why, in my opinion, Martin
This is just a leader who discusses in a low-level community and will never become a really good POO;
So I have to remind anyone interested in these aspects in the. NET field that, even if it is printed in black paper and white, you have to think twice when I read it.
Ratio
For example, the field model should be as close as possible to the real world. In fact, there are a lot of things in the object-oriented book that direct human thinking to wrong places. For example, a car, a Mercedes-Benz, or a car. Obviously
The car can also be broken down into an engine/body/drive; the engine can also be broken down into a cylinder/cylinder; the cylinder is made of iron. So iron is equivalent to Int32 and so on, so it becomes a basic infatuation. This mention
Method is actually the same as RecordSet.
This is not to say that the basic infatuation does not exist, or that the basic infatuation is right. The key is that most people are not allowed to identify the problem domain.
What is basic infatuation, and what is ultimately caused by basic infatuation (or similar problems), I personally experienced this process,
Even now, you have to intentionally overcome it: What you produce is clearly a cylinder, that is, to send iron (basic type or RecordSet) into the device (other logic) and process it into a cylinder,
While the cylinder itself is the result that is really needed by the production engine (other callers or even interfaces), how does it feel wrong,
He wants to turn iron into something that is self-processed and doesn't know what it is (because it shouldn't exist at all). Otherwise, he will feel uncomfortable.
In my opinion, on Javaeye
Most of the hot discussions, in the so-called "close to the real world", actually deviated from the world, because the object is not identified (this basic skill, but Martin, they didn't teach it at all.-I don't even care.
I doubt whether he has mastered it well, but he has repeatedly discussed it in various philosophical/scientific books.) This is because he has not cut down the correct concepts and has not divided the correct questions.