Code style vs. annotations and XML.
代码风格与注释和XML的比较。
Look at the code that SWT read and dispatching events, it reminds you MFC code style.
看看SWT的读取和分发事件代码,它会让你想起MFC的代码风格。
Doing this offers the same benefits across projects as does having a code style within one project.
这么做会使得项目之间相互收益,就像同一种代码风格会对一个项目本身有好处一样。
Part of my OOAD project grades -- given weekly -- were based upon their javadoc comments and their code style.
对 OOAD项目评分的一部分——每周给一次分——就是以他们的注解和代码风格为基础的。
No matter what compromises or stands you make on source code style, however, it's important that you adopt one.
不管在源代码样式方面做了什么样的妥协或坚持,最重要的一点是你一定要采用一种样式。
That's because they can now use those distinctive black and white stripes to count a population, bar code style.
因为他们可以使用斑马身上独特的黑白条纹来统计斑马的数目,就像商品条形码一样。
It's clear from the aspect declarations in figures 2-5 that the code style is the most concise approach to working with AOP declarations.
显然,从图2 - 5的方面声明来看,代码风格是处理AOP声明最简洁的技术。
With 1.1, users can customize the code style of the generated method signatures (for example, put the open bracket on the same line or next line).
借助于SourceMate v1.1,用户可以定制生成的方法签名的代码风格(比如说,将左花括号放在同一行或是下一行等)。
Have a code style. All the little things that the compiler or interpreter doesn't care about should be done the same way throughout a project.
找到一种代码风格不被编译器或解释器重视的微小部分应该至始至终的保持一致。
So, should you go with the code style, or declare aspects using annotations or XML? Here's a summary of the trade-offs of AspectJ's Java code-based approach.
那么,应当采用代码风格,还是用注释或XML声明方面呢?
Additionally, you need to include the actual style code only once for an archetype.
除此之外,对于原型只需要包含一次实际样式代码。
Using this style of code is a strong visual indicator that it's an immutable class.
这种代码风格的使用从视觉上给出了一种强烈的指示:该类是一个不可变类。
The style you choose has a significant impact on the code complexity and maintainability of your style sheets.
您所选择的样式对样式表的代码复杂性和可维护性具有重要的影响。
It certainly leads to a pleasant style of uncluttered code.
它确实能够产生风格优雅、整齐美观的代码。
To illustrate code reuse and its implications, I return to a version of the number classifier that previous installments use to illustrate code structure and style.
要说明代码重用及其含义,我要回过来谈谈先前文章说明代码结构和风格所用的数字分类器。
Another issue is that all code must conform to this style, which can be difficult if you're integrating third-party code within an application that doesn't conform to this naming convention.
另一个问题就是所有代码必须遵循这种风格,因此如果在应用程序中集成了不遵循这种命名约定的第三方代码后,问题就复杂了。
Although it may seem strange to compare FXG to CSS, FXG conceptually accomplishes the same exact thing as CSS: it separates the layout code from the style information.
尽管对FXG和CSS进行比较似乎有点奇怪,但FXG完成的任务在概念上与CSS完全相同:它将布局代码和样式信息分离开来。
When writing code in certain programming languages, indentation is an important part of the style to ensure that the code is more readable.
在用某些编程语言编写代码时,缩进是样式的重要部分,可以确保代码的可读性更好。
As a result, programmers write more code in a DI style.
因此,程序员编写的代码大部分是di样式的。
Since it's regular HTML, you can add a style sheet to the code.
由于这是常规的HTML,因此可以在代码中添加样式表。
By avoiding obscure naming practices, inadequate commenting, and poor coding style, they created code that was much easier for another developer to take over.
通过避免使用模糊的命名习惯、不充分的注释和不好的编码风格,开发人员能够创建出使其他开发人员更加容易接手的代码。
In this style, no code is assigned to any particular person on the team.
在这种所有权中,团队中任何人都不具有对代码的所有权。
If the code violated the style policy the code compilation failed, i.e. the developer was not able to deliver the result.
如果代码违反了风格政策,则无法通过编译,即开发人员就无法交付工作。
To refactor the code, start moving the style information to a CSS stylesheet.
要重构代码,首先将样式信息移到css样式表中。
Similarly, to keep your CSS code tidy, consider grouping component style subsets.
同样地,要让CSS代码保持整齐,可以考虑对组件样式子集进行分组。
Similarly, to keep your CSS code tidy, consider grouping component style subsets.
同样地,要让CSS代码保持整齐,可以考虑对组件样式子集进行分组。
应用推荐