当前位置:首页 » 翻译 
  • 匿名
关注:1 2013-05-23 12:21

求翻译:Deciding when to omit the braces is a matter of personal taste. Omitting them can make the code more brittle. If a second statement is later added to the "then" clause, a common mistake would be forgetting to add the newly required braces. The compiler cannot catch this sort of error; you'll just get the wrong results.是什么意思?

待解决 悬赏分:1 - 离问题结束还有
Deciding when to omit the braces is a matter of personal taste. Omitting them can make the code more brittle. If a second statement is later added to the "then" clause, a common mistake would be forgetting to add the newly required braces. The compiler cannot catch this sort of error; you'll just get the wrong results.
问题补充:

  • 匿名
2013-05-23 12:21:38
决定何时省略大括号是个人喜好问题。
  • 匿名
2013-05-23 12:23:18
决定省去括号什么时候是个人品味问题。省去他们可能使代码更加易碎。如果第二个声明以后增加到“然后”条目,一个常见错误将忘记增加最近需要的括号。编译器不可能捉住这类错误;您将取得错误结果。
  • 匿名
2013-05-23 12:24:58
决定省去括号当时是个人品味问题。 省去他们可能使代码更加易碎。 如果第二个声明以后增加到“然后”条目,一个常见错误将忘记增加最近需要的括号。 编译器不可能捉住这类错误; 您将取得错误结果。
  • 匿名
2013-05-23 12:26:38
决定何时省略大括号是个人品味的问题。省略它们可以使代码更脆。如果第二个语句后面添加到"那么"子句中,一个常见的错误会忘记了,若要添加新所需的大括号。编译器不能赶上这样的错误 ;你就会得到错误的结果。
  • 匿名
2013-05-23 12:28:18
正在翻译,请等待...
 
 
网站首页

湖北省互联网违法和不良信息举报平台 | 网上有害信息举报专区 | 电信诈骗举报专区 | 涉历史虚无主义有害信息举报专区 | 涉企侵权举报专区

 
关 闭