|
Тема |
C++ Answers From Bjarne Stroustrup |
|
Автор |
mlee () |
|
Публикувано | 12.11.08 07:53 |
|
|
В отговор на известно количество коментари относно колко кофти бил езика С++ спрямо С, ви предлагам няколко забележителни интервюта с Bjarne Stroustrup
http://www.computerworld.com.au/index.php/id;408408016;pp;1;fp;16;fpid;1
http://www.technologyreview.com/InfoTech/17831/?a=f
http://slashdot.org/developers/00/02/25/1034222.shtml
Малък цитат:
TR: In retrospect, in designing C++, wasn't your decision to trade off programmer efficiency, security, and software reliability for run time performance a fundamental mistake?
BS: Well, I don't think I made such a trade-off. I want elegant and efficient code. Sometimes I get it. These dichotomies (between efficiency versus correctness, efficiency versus programmer time, efficiency versus high-level, et cetera.) are bogus.
What I did do was to design C++ as first of all a systems programming language: I wanted to be able to write device drivers, embedded systems, and other code that needed to use hardware directly. Next, I wanted C++ to be a good language for designing tools. That required flexibility and performance, but also the ability to express elegant interfaces. My view was that to do higher-level stuff, to build complete applications, you first needed to buy, build, or borrow libraries providing appropriate abstractions. Often, when people have trouble with C++, the real problem is that they don't have appropriate libraries--or that they can't find the libraries that are available.Редактирано от mlee на 12.11.08 08:25.
|
| |
|
|
|