Jan Hafner is a scientific computer programmer with the International Pacific Research Center at the University of Hawaii.
VOA: special.2011.05.24
It's because the programmer or programmers that wrote that software might have been pretty specific but not specific enough.
这是因为程序员写的软件,可能已经相当具体,但还是不够具体。
There are absolutely going to be times where you're running a program where the programmer, say you, didn't possibly know in advanced how much RAM the program was going to need.
它们总是在,程序员运行程序的地方,你可能预先不知道那个程序,需要多少内存。
You're trusting the programmer did it right, but this now tells you something.
现在,我们不能保证这是对的,对吧?你必须相信程序员写的是对的。
I was given two weeks and one other programmer in Biz Stone to write the software. And we did it.
我和比兹·斯通手下的另一个程序设计师,得到了两周时间来编写软件。
It turns out that in a lot of languages, C included, you the programmer knowing a bit about how the computer works and the language works, can exercise more fine-grained control.
结果在包括C语言的很多语言当中,你作为一个程序员懂得了一些计算机的工作方式,和语言的处理方式,可以更精确地控制运用它。
But long story short, if I want to use a function called sleep, -- the reason I, the programmer, knew to use that library -- -- that header at the top -- because it told me to in this little synopsis.
但长话短说,如果我想要用一个叫做sleep的功能,我作为程序员知道使用那个函数库-,上面的标题-,因为在这个小的大纲中它告诉我。
It's a little more readable because I'm using a Boolean value that tells me, the programmer, this is true or this is false.
它更具有可读性一点,因为我使用了一个bool值,它告诉我或程序员,这是正确的或这是错误的。
But I was a really good programmer and I wanted to understand the consumer side of the Internet.
但我是个很好的程序设计师,我想了解互联网关于消费者的一面。
I know this is a simple example, but when you mature as a programmer, one of the first things you should do when you sit down to tackle some problem is write something like this pseudo code.
我知道这是个很简单的例子,但是当你们成长为一名程序员后,当你们碰到问题后第一件事情就是,该写一些类似于,伪代码的东西。
On the other hand, as I said, never trust a programmer to do the right thing so we're going to check it.
另外,如我之前提到的,别相信程序员会一直保持正确,所以我们才要。
We would hire one other programmer to work on the client's site and build a hardware out, I would build the server software and then answer that question.
我们计划雇佣另一个程序设计师来做,客户网站,再准备好硬件,我还会编出一个服务器软件,一个月后,我们就会回答那个问题。
It is my place, as a programmer, to write information to the user.
这个规范到底用来干什么的呢?,这是我的空间。
I will tell you that a good programmer, at least in my mind, may actually go back and modify the pseudo code as they realize they're missing things, but it's easier to do that when you're looking at a simple set of steps, than when you're in the middle of a pile of code.
至少我认为是这样的,如果他们发现遗漏了,一些步骤的话会,回过头去修改伪代码,但这当你面对一些大致的步骤时,这个过程就会比,面对一堆代码要简单的多。
应用推荐