5 Questions with Herb Sutter

zhaozj2021-02-08  367

You'Ve Been a Pretty Independent C Guy for the Last Few Years. Now You're Working With Microsoft Too. What's Up with That, And What Are you doing there? Are you going to switch to Writing About Windows?

I'm going to keep doing all the things I'm already doing - working on the C standards committee, writing Addison-Wesley books (two are out, two more in the pipeline), writing my four C columns, helping to edit C / C Users Journal, moderating the comp.lang.c . moderated newsgroup, speaking at C conferences, all that. I'll also be at Microsoft as their liaison to the C community, making sure that stuff the community needs gets into Visual C . A big part of that is conformance to the C standard; Microsoft wants VC to be the most conformant compiler There's a bit of a way to go, but the community will see some pretty significant progress this year..

OH, And Windows ... Nothing new there. I've been doing dos, OS / 2, And Windows Developments Using Microsoft Tools Since Microsoft C Version 4. That Makes Visual Studio .NET, Which Includes Visual C Version 7, My NINTH major generation with that product. Of course, it's my first generation on the "inside," so to speak. Till now I've been a developer using the tools, and / or a consultant whose clients often use them. Yet I've Always Written for the Global C Community uses Standard C On Any Platform, and That's My Continued Priority. No change the.

Who in Your Field Do You Most Admire, And why?

It's hard to pick out a particular Person When So Many Have Made Such Significant Contributions.

In my field, Bjarne Stroustrup of course comes to mind as a language designer and implementer par excellence, having the good judgment to hit a useful real-world balance between purity (a language you'd design in a vacuum) and pragmatism (a language you'd design to be compatible with C, no easy task and a source of many compromises, but something that more than anything else made C the dominant language it is) .Donald Knuth just dives into any field that interests him, learns it better than just about anyone else on the planet, documents the whole thing, and moves on to the next thing. His depth in so many areas is just amazing, stunning diversity when even just his classic The Art of Computer Programming series alone would have been a LifeWork Any Computer Scientist Would Be Proud of.

Edison Design Group (EDG), currently comprising John Spicer, Steve Adamczyk, and David Vandevoorde, is a simply wonderful example of what a three-man company who do not even share office space can accomplish, as to date they've developed the most-compliant commercial C compiler that money can buy. Microsoft intends to catch up and compete, naturally, do not get me wrong, but these guys are just amazing. When I try some code on the EDG-based compilers and what it does Disagrees in some detail with my ready of what the standard.....................

There Are Many More Solid People Like That, Too Many To Give Complete Credit To Here.

What new Possibilities in your field area Most Exciting to you?

The Next Generation of the C Standard (AKA "C 0x") WILL BE A BIG DEAL, BOTH IMPORTANT AND EXCITING. We're Working On That Now.another Is Managed Environments Like .NET, Sort of A JVM DONE Right Butt But Much More Skeptical of .Net'S "Flavor of the Year" flavor when I First Head of It. Now, The More I See, The More I Like. It's real color. I Hope it Won't remain Only A Windows thing; several groups are already working to implement parts of it on other operating systems Now that I'm with Microsoft in addition to my other work, some people are going to think the attraction to .NET is because of that, but my. Interest in .Net's Possibilities Predates My Microsoft Involvement and in Fact Was One of the Things That Intrigued Me About The Possibility of Going to Spend Some Time.

What advice 10 You Give To someone starting out in your field today?

Learn everything you can. Do not get stuck knowing one or just a few things. That's the best way to grow in your profession, by building not just depth but also breadth of experience, and by keeping your mind open and sharp.

One reason we have "language wars" is that a lot of people seem to be happy learning just a few languages, or even just one (The other main reason is nontechnical -. Vendors' marketing budgets). Then they defend it to the death , because it's all they know. They may even imagine that it's all they need, or will ever need. If so, they have not got the first clue what they're missing, and choosing willful ignorance like that just is not a smart career choice in this field. for one thing, the market will change sooner or later and it's rare that someone can rely on just one or a few languages ​​for his whole career. for another, even if we were to imagine that were possible for the sake of argument, a one-trick pony developer is diminished even within their chosen language because they only know one narrow way to think - exposure to many languages ​​means exposure to many ways of thinking, exposure to many libraries and tools means exposure to new approaches And New Methods, And All of That IS essential to being a good developer in any chosen language you happen to be using this week. There's no substitute for breadth of learning, in addition to depth.Now, these days I'm a C guy, so some people could get the idea that I'm narrow and deep and not practicing what I just preached above. But that's not the way it is. It's true that I do primarily C today, but I've used dozens of languages ​​over the course of my education and career. I Certainly Wouldn't Know How To Use C 's Features and Modern Libraries Nearly As Ways of doing Things - Many Of Which Can Be Adapted to Work In C .

Anyone who thinks that programming languages ​​all look pretty much alike should try Prolog, APL, Lisp, and Perl. That should be enough of a start to jolt them out of "but everything looks sorta like C or Visual Basic" mode. It'll also twist their brains inside out. This is a Good Thing.So learn everything you can. Chances are it will come in handy directly. And those things that do not eventually come in handy directly will still benefit you because they've helped to Keep Your Mind Open and Sharp.

Which of these do you prefer or lean towards:

Creativity or persistence?

Creativity is wonderful, and you need persistence to get there. What was that about 99% perspiration, and 1% inspiration ...? It's like when people talk about luck, and most of the time it's not chance at all but people have set themselves up to be "lucky," to be in the right position so that when opportunities come up they can take advantage of them. They put themselves in the right place, not knowing quite what will happen, but ready for it when it does. . They make their own luck It's the same with so-called "overnight successes" that really take years of work to develop and then just into get the spotlight overnight and it's the same with creativity and persistence -. I do not know any author OR Inventor WHO Just Had A Eureka! Moment With First Spending MONTHS AND YEARS IN Front of a KEYBOARD OR IN A LAB.

Justice or forgiveness?

Both. True Justice Grants Forgiveness Where Merited, and Judgment Where Not.

Beauty or truth?

Truth. Beauty That is not true is a dangerous sham.

THE Jetsons or the flintstones?

"AAAW, I Dunno, Fred ..." Definitely the flintstones. Barney's a cool guy.

Lennon or McCartney? That's a Tough Choice. Lennon by a Nose.

REGULAR OR DIET?

Regular, always.

Lawyers or poticians?

Hmm. I think The MOST APPRIATE ANSWER About, And from, Both of Those Would Be: "No Comment!"

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

New Post(0)