但是以糟糕的设计开始,或者根本就没有设计,结果总是会造成草率的代码。
But starting with a bad design, or no design at all, always results in slip-shod code.
这就是您必须保持代码、内容和显示松散耦合的原因—抛弃糟糕的设计成为减轻痛苦的手段。
That is why you must keep code, content, and presentation loosely coupled — scrapping bad designs becomes a lesser pain.
在设计层次中增加多余的类是一种很糟糕的设计,就象在类之间制定了错误的继承关系一样。
Adding superfluous classes to a hierarchy can be just as bad a design decision as having the wrong inheritance relationships between classes.
在这里我要指出的是,使用字符串参数通过Web服务接口发送XML通常被认为是糟糕的设计,应该加以避免。
The point here is that using a string parameter to send XML across a web service interface is generally considered bad design and should be avoided.
更坏地的是,在过去,糟糕的设计、安全上的担心和管理上的延误都使核电站的成本高于图纸上的价格标签。
Worse, in the past, ill-conceived designs, safety scares and theregulatory delays they gave rise to made nuclear plants even more costly thantheir hefty price-tags suggest.
对于profiler来说,这可能是个糟糕的设计,因为在profiler中可能想要跟踪每个请求中的许多操作(和方法)的数据。
This would be a bad design for a profiler, where you would want to track data about many operations (and methods) per request.
马丁:这恰恰从另一个侧面说明了这个长达11页的循环是个糟糕的设计。如果你对改动某处代码心存顾虑的话,那它显然是一个蹩脚的设计。
Martin Fowler: That itself indicates the 11-page while loop's bad design, because if you're afraid to change something it is clearly poorly designed.
糟糕的照明设计使人造光向外向上照射到天空。
Bad lighting design allows artificial light to shine outward and upward into the sky.
更糟糕的是,可生物降解塑料的设计正日益普遍。
Worse, biodegradable plastics designed to disintegrate, are increasingly common.
重新设计它,让它更容易被更多人群接受,如幼童、对它表示担忧的成年人、以及可能有过糟糕经历的成年人。
Redesign it so it's more accessible to more kinds of people: young children, adults who worry about it, adults who may have had bad experiences.
最近的研究表明,它们可能设计地很糟糕,保护检修不足,设备维护不善。
Recent studies show that they may be badly designed that protective services are inadequate and their equipments is poorly maintained.
糟糕的接口设计、硬件限制和跨系统集成也会降低系统的整体性能。
Bad interface design, hardware limitations, and cross-system interaction can also degrade performance of the whole system.
在试图最好地利用一个糟糕情况的过程中,我决定设计构建一个新的测试服务器软件配置定义和跟踪工具,它是基于一个XML数据库的。
In trying to make the best of a bad situation, I decided to design and build a new test server software configuration definition and tracking tool, based on an XML database.
糟糕的数据库存储设计对数据库服务器有极大的负面影响。
Poor database storage design can have a significant negative impact on a database server.
几乎不可能设计出另一种更糟糕的API来处理XML。
You couldn't design a worse API for processing XML if you tried.
文案即是设计,大多数应用程序都有糟糕的文案。
Writing is designing and most applications have terrible writing.
二月份一揽子刺激方案的设计很糟糕,它的效果被高涨的石油和食品价格抵消了。
The February stimulus package was badly designed, and its anaemic effects offset by soaring oil and food prices.
某些防护性设计问题很容易指出:糟糕的表格,错误的消息以及嵌入式帮助是显而易见的。
Some defensive design issues are easy to spot: bad forms, error messages and inline help are obvious.
同步编程将带来简单的设计、更简单的代码,但有时候性能比较糟糕,这是我们不希望看到的。
Synchronous programming leads to simple design, simpler code, and poor performance at times, which is too bad.
架构(不明智)——预先把所有设计都做好,没有比这更糟糕的架构了。
Unsmart with architecture - no architecture is as bad as trying to design everything up front.
在本文中,我们会讨论10个让你的网页设计很糟糕的原因以及如何解决它。
In this article, we'll discuss 10 reasons your web design sucks and how to fix it.
如果具体的回答不能在基础架构设计开始时(或更糟糕,在实现时)给出,这各问题应该被作为项目成功的基本风险。
If concrete answers are not available by the time the infrastructure design begins (or, worse, implementation), this should be raised as a fundamental risk to project success.
但是,更重要的事实是如果您发现自己维护代码过于频繁,那么首先您的应用程序的设计可能是很糟糕的。
But the bigger truth is that if you find yourself maintaining your code too often, your application was probably poorly designed in the first place.
作为一个网页设计师,还有什么比没有创意、无法完成或结束设计项目感觉更糟糕的了。
As a web designer, is there any feeling worse than being creatively uninspired and not being able to complete or start your design projects?
在不必要的情况下使用缓存,或者试图用高速缓存来弥补糟糕的应用程序设计,可能开始能让您尝到一些甜头,但对于长期运行的应用程序来说并不是一个最佳解决方案。
Using a cache when it is not necessary, or trying to make up for a bad application design with caching, may give you some initial quick wins, but would not be the best solution in the long run.
在改进现有代码的糟糕设计时,第一步是把它改造成您能应付的东西。
The first step in attacking poor design for existing code is to mold it into something you can work with.
因为引入糟糕语言功能的风险如此之高,所以语言设计师在进行关于优势是否多于劣势的成本-收益分析时需要持保守态度。
Because the risk of introducing a bad language feature is so high, language designers need to be conservative when making the cost-benefit analysis of whether the good outweighs the bad.
对于不愿意或没有能力自己设计的人而言,缺省模版很不错;但对于任何想建立自己独特品牌的人来说,从缺省模版开始设计是很糟糕的主意。
Default templates are terrific for people who can't or don't want to design their own -but they're terrible starting points for anyone attempting to establish their own unique brand.
对于不愿意或没有能力自己设计的人而言,缺省模版很不错;但对于任何想建立自己独特品牌的人来说,从缺省模版开始设计是很糟糕的主意。
Default templates are terrific for people who can't or don't want to design their own -but they're terrible starting points for anyone attempting to establish their own unique brand.
应用推荐