As a programmer, you should write tests before you write code, then write just enough code to get the tests to pass.
作为一名程序员,应该在编写代码之前编写测试,然后只编写足以让测试通过的代码即可。
If there is an index, the programmer must write appropriate code to use the index.
如果有索引,程序员就必须编写适当的代码来使用该索引。
The XP rule is simple: If you don't have a programmer test, you don't know what code to write, so you don't write any code.
XP规则很简单:如果不进行程序员测试,则您不知道要编写什么代码,所以您不会去编写任何代码。
You're a "systems programmer" — you write code to keep servers healthy and to supply your application developer colleagues with the low-level functionality they need.
您是一名“系统程序员”—您编写代码以保持服务器正常运转,并且为您的应用程序开发人员同事提供所需的底层功能。
Unlike most computer languages, C allows the programmer to write directly to memory.
不像大多计算机语言,C允许程序员直接写内存。
I was given two weeks and one other programmer in Biz Stone to write the software. And we did it.
我和比兹·斯通手下的另一个程序设计师,得到了两周时间来编写软件。
That's like trying to write a piece of software without a programmer.
这就像试图写一个软件,但是没有一个程序员。
You may be a PHP programmer who needs to write code for a departmental Web application to access a central corporate service, exposed as a Web service.
您可能是一位PHP程序员,需要为部门Web应用程序编写代码,以便访问公司总部以Web服务方式提供的服务。
So now an application programmer can write the (pseudo) code to store a data element of 2gb into the grid as shown in Listing 1 below.
现在应用程序员可以编写代码(伪代码)将2gb的数据项存入网格中,如下面的列表1所示。
Suppose, for instance, that a Python programmer wants to write a script that automatically sends a message to her cell phone when the bus she takes to work rounds a particular corner.
假设,比方说,某个Pyhon程序员想要写一个脚本,可以当她乘坐的公共汽车正好转过某个弯时,程序自动发送消息到她的手机里。
That is, the programmer does not need to write a lot of source code to produce quite sophisticated, complex programs. 1.
换句话说,程序设计人员不需要写很多源代码来生成十分复杂的程序。
I may want to write my code in UTF-8, but some Japanese programmer may want to write his code in Shift JIS.
我也许希望我的代码是UTF - 8的,但是一些日本程序员希望它们的代码是Shift JIS。
The good news about Pippy is that it allows a Python programmer to write and run programs right on the Palm.
关于Pippy的好消息是Python程序员可以完全在Palm上编写和运行程序。
Now that we know how to create new types, the next step is to write functions that take programmer-defined objects as parameters and return them as results.
现在我们已经知道如何创建新类型了,下一步就要写一些函数了,这些函数用自定义类型做参数和返回值。
Thus, using OOP languages can greatly reduce the time it takes for a programmer to write an application, and also reduce the size of the program.
因此,使用面向对象程序设计语言,可以大大缩短程序员编写应用程序所需的时间,也可以缩短程序长度。
When hiring a programmer, the only thing that really matters is their ability to write good code.
招聘一个程序员,唯一对你有意义的是他能写出好程序的能力。
Bill Venners: in Refactoring, you write: "I write tests to improve my productivity as a programmer." What about robustness, quality, and reliability?
比尔:在《重构》这本书中,你写道:“通过写测试,我提高了作为一个程序员的工作效率。”能谈谈对鲁棒性、质量和可靠性的影响么?
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.
我知道这是个很简单的例子,但是当你们成长为一名程序员后,当你们碰到问题后第一件事情就是,该写一些类似于,伪代码的东西。
Everybody can write code readable to machine, but good programmer should write code readable to human.
谁都可以写机器能够懂得代码,但是优秀的程序员应该能写出人类也能理解的代码。
There once was a master programmer who wrote unstructured programs. A novice programmer, seeking to imitate him, also began to write unstructured programs.
有一位编程大师,他写非结构化的程序,一位初学者刻意模仿他,也写非结构化的程序。
Like, for example, OS programmer would write code send a signal SIGSEGV to that application process.
像,例如,程序员可以编写代码操作系统发送一个信号SIGSEGV信号,应用过程。
Finally, if you want to become a serious kernel programmer and write your own device drivers, you need to get familiar with it in the first place.
最后,如果你想成为一个严重的内核程序员写自己的设备驱动程序,你首先需要了解它。
Constructors enable the programmer to set default values, limit instantiation, and write code that is flexible and easy to read.
构造函数使得程序员可以设置默认值,限制实例化,代码是灵活的和容易写。
Constructors enable the programmer to set default values, limit instantiation, and write code that is flexible and easy to read.
构造函数使得程序员可设置默认值、限制实例化以及编写灵活且便于阅读的代码。
Constructors enable the programmer to set default values, limit instantiation, and write code that is flexible and easy to read.
构造函数使得程序员可设置默认值、限制实例化以及编写灵活且便于阅读的代码。
应用推荐