Callers dialling the wrong area code will not get through.
打电话的人拨错区号时电话就接不通。
If not, there is likely something wrong with the generated code or your data source configuration.
如果不是这样,那么生成的代码或数据源配置中很可能存在错误。
That kind of cycle of doom is why most programmers hate testers who tell them something is wrong with the code.
这种恶性循环就是为什么大多数程序员讨厌测试人员告诉他们代码出现问题的原因。
It's not that the word "smell" doesn't accurately reflect a symptom that indicates that code may be wrong, it just sounds funny to me.
并不是说“气味”这个词不能准确地反映出某种表明代码可能有错误的症状,只是我觉得这样听起来很滑稽。
I'm not saying that the TDD doctrine is wrong, but it's not really an option when two million lines of legacy model code already exist.
我并不是说TDD原则是错误的,但当两百万行的遗留模型代码已经存在时,它的确不能成为一个有用的选择。
But forcing the public API to accommodate factory objects or abstract factories, just because the test code wants it to, is the wrong design.
但强迫公用api适应工厂对象或抽象工厂(只因为测试代码要求它这样)是错误的设计。
Just as predicted, overloaded resource names and a caching service locator makes the code execute differently; it makes some components get the wrong resources.
正如所预测的那样,重载的资源名和缓存服务定位器使得代码执行有不同的结果,它使某些组件取得错误的资源。
I can't justify one convention or the other for any rational reason, but I do know that mixing up naming conventions makes code feel horribly wrong.
我没有任何合理的原因能评判一种规范是否比另一种更好,但我了解,混用命名规范会使代码看起来存在严重错误。
The associated code simply displays a custom error message telling the user what went wrong.
相关代码只显示一个常见错误消息,通知用户发生了什么错误。
If something goes wrong, you can always revert back to a known, good-working version of your code.
如果哪儿出了错,您总是可以使自己的代码回复到一个已知的、工作正常的版本。
If your code passes the wrong element to the method, the code compiles fine, but might raise a runtime error or silently return no results.
如果代码给方法传递错误的元素,那么尽管代码将编绎良好,但可能会导致运行时错误或者不返回任何结果。
The downside of this approach is the possibility that a typo or slight ambiguity in the signature will silently fail, which means the code will compile but "do the wrong thing" at runtime.
这种方法的缺点在于签名录入的错误或含糊不清可能会导致没有征兆的故障,这也就意味着代码可以编译,但在运行时无法正确完成操作。
Power management on embedded hardware is an advanced topic, and it is easy to get it wrong; instead, just hand the job off to the specialized code provided.
嵌入式硬件中的电源管理是一个高级主题,而且容易出错;所以要将这项工作交给专门的代码处理。
I'm currently 31, but I'll be 32 later this month (as I wrote this code, it was March) and my algorithm gives me the wrong result.
我现在31岁,但这个月再过几天我要32岁了(但我写该代码时,是3月份),我的算法造成错误的结果。
The biggest issue with this code is that you're not telling the user what went wrong if an error occurs.
该代码最大的问题是如果出现错误不能告知用户是什么错误。
Nothing is wrong with this code at all; it's just that instead of persisting XML, you really persist data and stuff it in XML, all in one step.
这段代码并没有任何错误;我们只是将数据持久化存储于XML 中,所有操作都在一步之内完成。
There's nothing wrong with using an IDE to write code or to create build scripts.
使用IDE编写代码或者创建构建脚本并没有错。
Can you spot what is wrong with this code?
您可以确定以下代码的问题吗?
If you've written factorial code, you've probably noticed that the code is still wrong.
编写了阶乘代码后,您可能发现该代码仍有错误。
Can you spot what is wrong with the following code?
您可以确定以下代码的问题吗?
ORA-65535 is not a valid error code and XAER_RMERR essentially means that something went wrong with XA.
OR A- 65535不是一个有效错误代码,并且XAER_RMERR实质上意味着XA发生了某些错误。
Their code still works, but it sounds wrong to a native ear.
他们的代码可以无错运行,但对于原生语言用户来说,就是有一些地方不对劲。
While we agree with his point, the word "forking" is problematic if only because there is nothing wrong with forking code. In fact, it's the norm in the open source world.
虽然我们基本上同意他的观点,但是这个“分支”这个词是有问题的,因为分支代码没有任何错误,事实上这是开源世界中的规范(你在使用Git或者是Mercurial吗?)
If we wait until the end of the sprint to do this, any diverging code will be discovered at precisely the wrong moment - when we have the least time to fix it.
如果我们等到sprint结束再做,任何分叉的代码就会在错误的时刻发现——此时我们能够用来修复问题的时间最少。
In this code, the main thing that can go wrong is that the ST_Transform function cannot compute a proper point value in projected coordinates from the given latitude and longitude.
在此代码中,可能导致出错的主要情况是ST _ Transform函数无法从给定的纬度和经度计算出投影坐标中的正确点值。
If something is wrong in a SOAP message, you will receive a HTTP response code: 500 from a Web Service server.
如果一个SOAP消息中有错误,您将会从Web服务服务器得到一个HTTP响应码:500。
Remember, Jester is deliberately introducing bugs into the code, so you don't want to risk leaving one behind if something goes wrong.
记住,Jester要向代码故意加入bug,所以您可不要冒险在出现问题的情况下遗漏一个bug。
Remember, Jester is deliberately introducing bugs into the code, so you don't want to risk leaving one behind if something goes wrong.
记住,Jester要向代码故意加入bug,所以您可不要冒险在出现问题的情况下遗漏一个bug。
应用推荐