Your validation code sticks out because it doesn't look like the other code around it.
您的验证代码很醒目,是因为它看起来不像周围的其他代码。
You can visualize all of your code and look for references, or you can do a Find, looking for text in your code.
您可以将您所有的代码都可视化,并且寻找引用,或者您可以做一个查询,寻找代码中的文本。
If you use a code generator, really look at the code it generates; if you use database tools, take a look at the underlying SQL it generates; and so on.
如果你使用代码生成器,好好看看它生成的代码;如果你使用数据库工具,看看它生成的底层SQL语句,不一而足。
This code might look a bit daunting if you haven't used the command-line interface much.
如果您对命令行接口使用得不多的话,这段代码看上去可能有点令人生畏。
Take a look at the code in Listing 1, which is an example from the previous article.
看一下清单1中的代码,这是上一期文章中的一个例子。
Look for ways to simplify your code right from the outset.
从一开始就要寻求使得代码简洁的方法。
Well, if we look back at the code here, take a look at what we're really doing.
好的,如果我们回过头来看代码,看看我们到底做了什么。
To take a look at the harness code, download this article's sample JAR file from the Resources section.
为了分析这个工具的代码,应从参考资料中下载本文的示例JAR文件。
The resulting HTML code for the content area would look like the code in Listing 12.
最终得到的内容区HTML代码如清单12所示。
Using Dojo's soria stylesheet this code would look like Figure 4.
使用Dojo的soria样式表后,此代码应该类似图4。
Now we can take a look at some code to see how the GWT compiler optimizes it.
现在,我们可以通过检查一些代码来查看GWT编译器是如何优化代码的。
As you can see, the wrapping code can look complicated, so we thank the code generator for every line it writes for us.
正如您所看到的那样,封装代码看上去复杂,所以我们感谢代码生成器为我们编写的每一行。
To that end, let's look at code for manipulating the data from within the program.
要实现这个目的,让我们来看看在程序中对数据进行操作的代码。
Now look at the code (in Listing 3) that generated this beautiful page, starting with the top of the page.
现在看一下生成这个漂亮页面的代码(见清单3),首先从页面顶端开始。
In the next article in this series, we look at agents and code that can influence application performance.
在本系列接下来的文章中,我们将考察会影响应用程序性能的代理和代码。
I conclude my discussion with a look at the code (written just once!) that executes my finder methods.
查看执行查找器方法的代码(只编写了一次!)来结束我的讨论。
To be able to reason about an application's code, we must be able to look at the code from each class as well as the code for any aspects that might affect the class's behavior.
为了能够对应用程序代码做推断,我们必须能够查看来自每个类的代码,以及能够影响这个类行为的任何一个方面的代码。
We can look at the code and determine if it handles unexpected events properly, has logical flaws, and so on.
我们可以查看代码并确定其是否正确处理了意料之外的事件,是否具有逻辑上的缺陷等等。
At your job, take a look at the code the senior developers are writing and ask how and why things were done a particular way.
在工作中看看高级程序员写的代码,然后问一问事情是如何以某种特别的方式完成的,为什么?
For illustration purposes, let's take a look at the bridge code generated for a simple COM API example.
为了展示这个过程,让我们来看一看为一个简单的COMAPI示例生成的桥代码。
AOP modularizes crosscutting concerns, so I should look for code that is scattered and tangled in my code.
AOP模块化横切关注点。因此应该寻找那些分散和纠缠在代码中的代码。
Now that you have seen how the player form is created, take a look at the code that handles its submissions (see Listing 11).
现在已经看到球员表单是如何创建的,再看看处理提交的代码(见清单11)。
Once this project is created, we can easily look at the code and start to understand the intricacies of the template.
创建了此项目后,我们可以轻松地查看代码并且开始了解错综复杂的模板。
If you look at the code for the script you just recorded, you should see a line of code similar to that in Listing 1.
如果您在刚刚记录的脚本里查看代码,您应当看到类似于列表1中的一行代码。
Future columns will look at specific code and tools to aid the transitions; this column addresses the design considerations.
今后的专栏将着眼于帮助进行转换的特定代码和工具;本专栏则侧重于设计注意事项。
Errors are easy - just look for the error code - but keyword selection on many searches is much more difficult.
查错误很容易—只需查出错代码即可—但是许多搜索的关键字选择要困难得多。
Let's get back to the application code and look at how ads are created and served.
让我们返回到应用程序代码,查看如何创建和处理广告。
As an example, let's take a look at the code for the refresh command (see Listing 1).
例如,让我们看一看用于刷新命令的代码(参见清单1)。
The easiest way to see why you would want to use YAML is to look at some code in different formats.
了解为什么要使用YAML 的最简单方法是看一下不同格式编写的代码。
And the code snippet should look like that shown in listing 18.
代码片段应该类似于清单18中所示的代码。
应用推荐