• If you're like many programmers who aren't fond of commenting code, unit tests are a way of documenting your code behavior.

    如果您像其他许多程序员一样不喜欢为代码加注,则单元测试是记录代码行为的一种方法。

    youdao

  • But in general, the choice of variable name is a great way of commenting your code.

    但是通常来说,变量名称的选择,是评论你的代码的,一个重要方式。

    youdao

  • Most such commenting systems are implemented as records buried in a database and pulled into the page rendering process with very specialized code.

    大多数这样的评论系统都在数据库中存储记录,并用专用代码在页面显示过程中获取记录。

    youdao

  • Finally, we present live sample code for listing the blog entries in a blog library, creating a blog entry, and commenting on a blog entry, to help you further understand these REST-based services.

    最后,对于列出博客库中的博客条目、创建博客条目和评论博客条目,我们将给出生动的示例代码,帮助您进一步理解这些基于REST的服务。

    youdao

  • Commenting out anything in the Jetty configuration that tries to write to the file system (this is semi-optional, but working around the limitation requires more C# code).

    把Jetty的配置中涉及写文件系统的信息全部注释掉(这是个可选项,但如果你想绕过它,就需要编写更多的C#代码)。

    youdao

  • Some claim judicious code commenting is a good thing, while others claim it only serves as a mechanism to explain overly complex code.

    一些人声称公正的代码注释是好事情,而另一些人声称代码注释只是解释过于复杂的代码的一种机制。

    youdao

  • By avoiding obscure naming practices, inadequate commenting, and poor coding style, they created code that was much easier for another developer to take over.

    通过避免使用模糊的命名习惯、不充分的注释和不好的编码风格,开发人员能够创建出使其他开发人员更加容易接手的代码。

    youdao

  • For a helpful rule of thumb, you could say that a method with more than 100 non-commenting lines of code is way too long.

    有一个很有帮助的经验法则,您可以说非代码注释行超过100行的方法是长方法。

    youdao

  • By commenting out the code shown in Listing 2, you can be assured that the validate flag will always be false (you can remove it altogether, as an option).

    通过将清单2中的代码注释掉,可以确保验证标志始终为false(也可以将其全部删除)。

    youdao

  • I thought I'd just share some off-the-cuff thoughts about code commenting.

    这里会分享一些有关代码注释的想法。

    youdao

  • Likewise, if a code base comprises 10,000 non-commenting lines of code and 3,500 of them were exercised on a particular test run, then the code base's line coverage is 35%.

    同样,如果一个代码库包含10000个非注释性的代码行,在特定的测试运行中有3500行被执行,那么这段代码的行覆盖率就是35%。

    youdao

  • The Financial Times demands that people register before commenting online, and we ask for a post code, employment details and job title, as well as ane-mail address.

    英国《金融时报》要求读者先行注册,然后才能在网上进行评论,而且我们还要求读者提供邮政编码、雇用信息、职务头衔以及一个电子邮箱地址。

    youdao

  • I've been accused of over-commenting my code and that's something I'm proud of.

    我曾经引以为豪的代码注释,因过度注释而有人指责。

    youdao

  • I'm not really sure how to do this, but if you could help me out by commenting out the code so I can understand, I would appreciate it.

    我真的不知道如何做到这一点,但如果你能帮助我所评论的代码,所以我能理解,我会很感激的。

    youdao

  • I'm not really sure how to do this, but if you could help me out by commenting out the code so I can understand, I would appreciate it.

    我真的不知道如何做到这一点,但如果你能帮助我所评论的代码,所以我能理解,我会很感激的。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定