CC ++ thinks C ++ father interviews (true?)

zhaozj2021-02-17  53

Passer: Don't you think about it?

C / C thinks C father visits

In 1998, New Year's Day, Bjarne Stroustrup (C Father) accepted an interview with IEEE "Computer" magazine reporter. The editor is natural to think that he will make a historic review for the use of his created language in the past seven years. In this interview, the reporter has got a more valuable news, but the final editor decided to make the entire IT industry, this manuscript could not be published, but it was like other cut news, often a passport. This piece of interview is completely copy, no editor, delete or do anything, and has not been released, it may look like a common magazine article, but this is a truth. You will find the real fascinating place ... Reporter: You have changed the face of the world's design world a few years ago, and now you have something to think now? Stroustrup: In fact, I have been considering this in these days before you arrive, do you remember that almost all people are writing a C program? Trouble is that these people are very good, and those universities are also working hard to teach C programming technology. It is indeed very success - I have to specifically point out the word "success" - because this significant C programmer's cultivation efficiency, this is the cause of the problem. Reporter: Is this a problem? Stroustrup: Of course, do you remember when you write a program with a COBOL language? Reporter: Oh, of course, I was the same. Stroustrup: At the beginning, these people simply took high wages like half of God and enjoy the same treatment as the nobles. Reporter: Hey, how many days, is it? Stroustrup: Of course. But what happened, what happened? IBM thinks that this is uncomfortable, investing in millions of training programmers, until the programmer can pay a lot of money. Reporter: This is why I have removed it at the time, and the salary drove to people in a year. It is said that it is better than programmers. Stroustrup: right! At that time, the same thing happened to the C programmer. Reporter: I understand this, but you have to say ... Stroustrup: One day, I am sitting in the office, I want to save this matter. I want to know if there is a particularly complicated and unlocked language, no one can get the programmer to get the market's quit of the market? I used something I learned from X10, hey, it is X-Windows, it is a dead graphics system, can only run in the machines of those Sun 3/60, ha! It has all the features I want: a complicated syntax, a mixed function description, and a camouflage OO structure, even if it is now, no one is willing to use those things, if you don't want to go crazy, Motif is the only one solution. Reporter: Are you joking? Stroustrup: No, in fact there is another problem, UNIX is written with C, that is, any C programmer can become a developer of the system program. Remember that a large host system application developers usually earn more? Reporter: You must know that I am doing this at the time. Stroustrup: Ok, so this new language must be separated from UNIX by hiding all system calls, which can make those who know DOS can also live very well. Reporter: I don't believe in this ... Stroustrup: and now have a long time, I believe that there are many people have pointed out that C is a waste of time, I want to say, this process is better than me. It's too much to imagine.

Reporter: How do you do it? Stroustrup: That is just a joke, I really didn't think people would be so serious about that book. Anyone should have a long brain that should understand that the object programming is ridiculous and is not logical, and the efficiency is low. Reporter: What? Stroustrup: Code again, when did you hear the company reused his code? Reporter: In fact, there is no, but ... stroustrup: then I remind you that there are many examples in the early days. Oh, there is an Oregon company called Menter Graphics. I think they should have a cold. I have written all the code over 90 years or in 91 years. I'm sorry, I really can't think of the exact time. I have seen that everyone should learn from this incident. Reporter: Does anyone really absorb lessons? Stroustrup: Nothing, and many companies have made the same mistake, and explain to their shareholders say that the loss of the $ 300 million is normal, they are doing this. Reporter: Really? However, this can only prove that the OO method is able to work, isn't it? Stroustrup: maybe, executive file is so big, on a 128M memory HP workstation is just 5 minutes, then run the same time as the worms climbed. In fact, I found this shortcomings in the first worship. The strange thing is that no one cares about this, Sun and HP seem to do just to buy the powerful functions, not what procedures in it. At AT &., I compiled a "helloworld" program, which is incredible, and the execution file is 2.1m. Reporter: So big? Yes, it is the result of the compiler that starts at that time. Stroustrup: This looks like this, if you don't believe, you can try it with the latest version of G , what you get will not be less than 0.5m, and there are also some examples in various countries, such as the disaster occurred in British Telecom. , But fortunately, they will abandon the original plans, and they will start, they are lucky than Australian Telecom, now I heard that Siemens is in the "Dinosaurs", they are currently more worried. Accelerate the expensive high-speed hardware you want to use, do you really think those polymorphic inherits are a pleasure? Reporter: Oh, C is indeed a reliable language! Stroustrup: You really believe, right? Do you really sit down with C ? Let me tell you what happen: First, I will join enough defects to let those slightly insignificant modules, let the work overload, in the stage of engineering, you will find that almost all modules will have this defect, this is Because people think that it should be done because it is written in C tutorial. Similarly to perform different objects in the same module means that there are some things that are completely different in each module. You can integrate them together when you have a hundred such modules that are different from each other. Secondly, I will talk about the so-called data hidden, God, when I heard that there is a group of objects that have achieved synergistic communication, I really can't help! I see that the word "collaboration" in the OO method can accumulate the ribs of the project manager.

Reporter: I have to say it is terrible! You also say this is used to improve the wages of programmers, this is too embarrassing! Stroustrup: 龌龊? No, anyone has the right to choose. I don't want to make things develop into this. Anyway, I am basically successful. C isn't there? And programmers can still earn high salary - especially those who have to maintain these dead " " things. You should understand if you go to maintain a C module developed by you. Reporter: How can this? Stroustrup: Are you confused? Remember TypedEf? Reporter: Oh, of course. Stroustrup: I know that the change in the header file 'roofraised' is a double precision number for how long? Imagine find those typedefs ......... Reporter: So why have you been succeeded? Stroustrup: How long does it take to remember the general C program project? Generally 6 months. This is not enough for a programmer who wants a wife to support his wife. If it is the same project, how do you use C ? I tell you: I have to finish it for a year! Is this not good? Is a small programming language selection decision, the language programmer will not be easily laid off? And those universities have not teamed C, now is the shortage of C programmers. Especially for programmers who are familiar with UNIX. After using so many years of "New", it has always been worried about the problem of returning value. How many programmers know using "malloc"? In fact, most C programmers abandoned the return value, no matter what kind of result, even returned "-1", in fact, there is nothing of 'Throw', 'Catch', 'Try', at least You should know that there is an error. Reporter: But does inheritance does not save a lot of time? Stroustrup: Yes? Do you pay attention to the difference between the C project plan and the C project plan? After three system functions are performed, it is necessary to determine that all things can be inherited. If there is still nothing to say, it is still wrong, but who has heard that storage leakage in C? Now you can find it in the industry's larger products! There are a lot of companies to give up, and the project is put into out. They know that the last possibility of using the sieve sand to finish the memory station, they don't want to suffer! Reporter: There are also some tools to come ... Stroustrup: Most anti-leaks tools are not written with C . Reporter: If you publish these things, we may not be able to stand in this industry. Do you know? Stroustrup: I don't believe, just like what I said, now C is already struggling in dying. Any company will recognize that C is simply a disaster with C . If you haven't realized this, it is alive! A period of time I advised Dennis Ritchie to override UNIX with C . Reporter:? God! What did he say? Stroustrup: I have to admit his insight, I think he and Brian clearly understand my intent at a very early, but never said, he said if I am willing, he can help me with C . DOS.

Reporter: So you wrote? Stroustrup: In fact, I wrote, I can give you a demo after I finish, I do it on a four CPU SPARC 20 in the room, run special fast, and only 70m hard disk space. Reporter: Is there a version of the for PC? Stroustrup: Now you are joking, haven't you seen Windows 95? I think it is one of my success signs. Reporters: I always think about Unix , or some people are trying to do this. Stroustrup: That's because they haven't seen this interview. Reporter: Sorry, but I don't have anything to issue these things. Stroustrup: But this is a century story, I just want my programmer partner to remember what I did for them, do you know how much can I earn these days? Reporter: I heard that a top C programmer can earn 70 ~ 80 cents for an hour. Stroustrup: I know! And I bet him must be so much! ! Single step tracking I put in C , it is not easy. All features that use C in the project will be confused even if there is experienced programmers. In fact, I feel very uncomfortable. Although this feature is done for my original intention, I almost like this. Language. Reporter: What do you mean saying that you didn't like it? Stroustrup: I am awkward! Don't you agree? Is it very cumbersome? But when the book is constant ... I think you can understand these. Reporter: Wait a minute, regard to the definition of the parameters, please have to answer, you really improve C's pointer. Stroustrup: Oh, I always want to know this. At first I thought I did it, but one day I was discussed with a programmer who had just started learning C . He said: "He never knows if his variable is quoted, so I am still using a pointer, that asterisk is always reminding me." Reporter: OK, usually at this time I generally said: "Thank you ",", but now it is still not enough. Stroustrup: I will promise me to publish. Reporter: Ok, I will inform you, but I already know what my editor will say. Stroustrup: Who will believe it? Can you bring me this record? Reporter: Yes. The text is below my own point: I want to remind this article, the computer industry has no authority, the software world is the world of young people. The young people I have referred to here refers to thinking than age. If Basic is available in C , there is a reason for Basic. In fact, now the development tools have a thousand autumn, it is difficult to say that there is an absolute advantage, but there is its own advantage in different fields. In addition, OO technology has been long, and it is difficult to get a wide range of applications. I think OO will become a trend, but it is absolutely unable to replace the process of development. OO does not contain development, also contains design, OO and process-oriented development models will still be new things, at least a process-oriented various technologies are already mature. The world is a diverse, OO is absolutely can't play the terminator for process development, I deeply believe this, although OO technology has many advantages that have many process technology. The code is reused. It is a dream of developers. All people are working in this direction. In the process, the developers have encountered very great resistance, but I don't want to block the pace of advancement. I think my opinion is not necessarily correct, and I am not an authority.

转载请注明原文地址:https://www.9cbs.com/read-29589.html

New Post(0)