用代码评审解释这一点可能需要点技巧。
不过现在,我们有机会,用代码实现它。
But now, there is an opportunity for us to implement this in code.
简单地说,单元测试是用代码测试代码。
Simply put, unit testing means writing code to test other code.
只是用代码写在窗户进入。
用代码而不是SQL来表达模式,更便于我们使用。
Express the schema in code instead of SQL, which is more convenient for us.
对代码进行测试的下一步是用代码覆盖工具对测试进行度量。
The next step beyond testing code is measuring the tests with a code coverage tool.
实际上,可以用代码度量很容易地找出可能难以维护的代码。
In fact, you can use code metrics to easily spot code that might be difficult to maintain.
我不说你不能得到相同的功能,你可以用代码合同的属性。
I'm not necessarily stating that you can't get the same capabilities with attributes that you can with Code Contracts.
我喜欢用代码来表达代码,因而通过粒子形式产生随机序列。
I love creating code with code! The random rotation was achieved by a particle expression.
当某些值相互依赖时,应该把它们的相互关系用代码表达出来。
When values depend on each other, try to reflect their relationship in the code.
用代码行来衡量开发进度,无异于用重量来衡量制造飞机的进度。
Measuring programming progress by lines of code is like measuring aircraft building progress by weight.
第二个解决方案是用代码生成器,读取数据库模式,并自动编写代码。
The second solution is to use a code generator that reads the database schema and writes the code for you.
用代码行数来评估程序的开发进度,就好比是拿重量来评估一个飞机的建造进度。
Measuring programming progress by lines of code is like measuring aircraft building progress by weight. -- Bill Gates, co-founder of Microsoft Corporation
这时您可以用代码补全功能,为Vectornames 增加适当的方法。
You can use code completion to locate the proper method for adding items to the Vector names.
每个人都用运行时调试器调试过代码,或者用代码分析工具找过执行热点。
Everyone has debugged code with a runtime debugger or found performance hotspots with a code profiler.
如果你已习惯于用代码描述系统,那么需要阐明所有编程接口和对象模型。
If you are used to modelling your software in code, you would do this typically by crafting some programming interface and a whole object model to describe it.
因此,您可以用代码从Typeahead中很容易的获取输入字符,如列表7所示。
You can therefore easily get the user input string from the Typeahead using the code shown in Listing 7.
以索绪尔为代表的语义学派提出用代码交际模式来解释人类交际活动中的话语。
The semiologists represented by De Saussure propose the code model to explain utterance in human communication.
而且,本书还有其练习部分,称为CodeMagnets,它像填空,但用代码填写!
Also, the book has this exercise called code Magnets, which is like fill in the blank... but with code!
用代码行数来衡量程序的开发进度,就好比用重量来衡量飞机的制造进度。——比尔·盖茨。
Measuring programming progress by lines of code is like measuring aircraft building progress by weight. - Bill Gates.
您可以用代码将一组标准控件绑定在一起来创建用户控件,也可以从头开始设计自己的控件。
You can create a user control, which is a set of standard controls bound together by code, or you can design your own control from the ground up.
最后一步是用代码创建一个新web页面,来创建表单并处理Validate按钮上的提交事件。
The final step is to create a new web page with the code to create the form and handle the submit event on the Validate button.
在你开始用代码写什么以前,先坐下来画个小小的流程图或者把你准备给玩家看的东西做个列表。
Before you start programming anything, sit down and draw out a small flowchart or list of things you want to have happen and for the player to see.
DNSsourcescript:用代码创建DSN(译者:Data source Name)。
从管理我们的工作目录和用代码记下偶然的想法和保存一个杂乱无章的列表,没有什么比得上纯文本编辑器了。
From managing our to-do lists and writing code to jotting ideas and keeping a grocery list, nothing beats a solid plain text editor.
问得好。取决于你偏向于用代码思考或偏向于可视化地工作,你该从哪开始这个问题的答案会不同。
That is a great question. Depending on whether you prefer to think in code or work visually the answer to where you should start will be different.
因此,定义新的RESTAPI很简单,就是定义这些操作方法,用代码填充它们,并正确地将请求路由到它们。
Defining a new REST API therefore becomes as simple as defining these action methods, filling them with code, and routing requests to them correctly.
因此,定义新的RESTAPI很简单,就是定义这些操作方法,用代码填充它们,并正确地将请求路由到它们。
Defining a new REST API therefore becomes as simple as defining these action methods, filling them with code, and routing requests to them correctly.
应用推荐