But there is more to your system than just code and documentation, and these other elements can incur technical debt just as well.
您的系统还有比代码和文档更重要的问题,而且其它这些部分也会造成技术债务。
The idea was that things were changing so rapidly that we could just code applications very quickly, then throw them away and start over when the time for change arose.
这个思想认为环境和需求变化太快,因此我们唯一的办法只能是快速编写新代码,并且也快速的抛弃老代码。
Just as the code breaking has its wider relevance in the struggle for Spain, so his attempts to make his way up the promotion ladder speak volumes about British society.
正如破译密码在西班牙的战争中有着更广泛的意义一样,他试图晋升的努力也充分说明了英国社会的情况。
In one case, the professor didn't require students to buy a textbook, just an access code to turn in homework.
有一次,教授并没有要求学生购买教科书,只是需要作业提交的访问码。
As you can see, the client stub looks just like the code we used in the previous installment.
就象您能看到的,客户端的存根看上去就像我们在前面部分里使用过的代码。
Now I can write just enough code to get the tests (there are now two) to pass.
现在仅仅编写足够使测试通过的代码(这里有两个测试)。
But again, there's things in there you can do that are broader than just developing new code.
但同样地,您可以做的事情的范围将更加广泛,而不只是开发新代码。
As a programmer, you should write tests before you write code, then write just enough code to get the tests to pass.
作为一名程序员,应该在编写代码之前编写测试,然后只编写足以让测试通过的代码即可。
Write just the code you need and no more. Your app will be leaner and healthier as a result.
只写你需要写的代码,绝不多写。结果你的应用将更加精简和健康。
Open-source developers, for instance, are widely believed mostly to be volunteers who just love writing code.
例如开源代码开发者普遍相信大多数志愿者仅仅是喜欢编写代码。
You can also use what the wizard produces as the starting point to implement a full application: the wizard generates the models, too, not just the code.
您还可以将向导所生成的代码用作实现完整应用程序的起始点:向导也生成模型,不只是代码。
A mock object conforms to the interface of the real object, but has just enough code to fool the tested object and track its behavior.
模仿对象符合实际对象的接口,但只要有足够的代码来“欺骗”测试对象并跟踪其行为。
Maybe just reading the code and studying it and convincing ourselves that works.
也可能仅仅就是读读代码做做研究,说服自己代码是可行的。
While the rest of the program is pretty much just boilerplate code to get the SAX2 parser running, the part in Listing 7 defines the application's personality.
虽然程序其他部分只是让SAX2解析器运行的样板代码,但是清单7中的部分定义了应用程序的个性。
This "write a test, write just enough code to get it to pass, rerun the test" approach is the xp development flow that you should experience every day.
这种“编写一个测试,编写足够的代码来使测试通过,重新进行测试”方法是您每天都在经历的XP开发流程。
Most likely, you won't just copy code from your workstation to the cloud but would want to use source-control management software.
您可能不想简单地将代码从工作站复制到云,而是想通过源代码控制管理软件来进行部署。
The final bit of code just prints out the resulting XML document.
最后一些代码只是打印生成的XML文档。
Have you written hundreds of lines of code just to handle browser differences?
您是否曾仅为了处理浏览器差别而编写几百行代码?
Yes, all that code just initialized the command-line options.
是的,所有这些代码都是初始化命令行选项的。
If we need multiple values, we can adapt the script later or just write new code.
如果需要多个值,可以稍后采用脚本或编写些新代码。
There's nothing special there — just the code to hold the state of the application and a few business methods having nothing to do with the views.
这没有什么特别的地方——因为保存应用程序状态的代码和几个业务方法与视图无关。
The code here is just standard JPA code for querying and creating messages.
这里所示的代码是一些用来查询和创建消息的标准JPA 代码。
When you run in the browser, you are not running HTML, you are just downloading code to the browser instead of downloading code to the PC.
当你在浏览器中运行的时候,你不是运行HTML,而是把代码下载到浏览器而非PC。
And just as code duplication can make a software program more difficult to maintain, so too does duplicate code in build scripts.
代码复制令软件程序更难于维护,同理,构建脚本中的复制代码也存在这样的问题。
Don't just echo the code with comments - makeevery comment count.
不要用重复代码的形式写注释——让每个注释都有意义。
Thinking functionally extends not just to your code, but to the way you think about testing it as well.
函数式思维不仅针对您的代码,还包括您思考测试的方式。
The stub contains just enough code to allow it to be compiled and linked.
它仅包含使编译和链接能够进行的代码。
If you have code like this, just swap the code doing the work and use if.
如果你有类似的代码,只需要把功能代码交换一下位置,然后使用if吧。
We can now make our applet headless (just a code library with no UI to it).
现在可以使Applet没有头文件(就是一个没有 UI 的代码库)。
That's it, the rest of the topic is just a code snippets without any details describing which attributes are important or how to use them.
如此而已,其它的主题无非是一些代码片断,对于哪些特性是重要的,或者如何使用它们,都没有任何详尽的描述。
应用推荐