分享
 
 
 

什么是轻量级方法

王朝java/jsp·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

来源:http://dev.19xz.com/soft/54424.htm

What is a Lightweight Methodology?

什么是轻量级方法?

A software methodology is the set of rules and practices used to create computer programs.

软件方法就是用来编写计算机程序的一套规则和惯例。

A heavyweight methodology has many rules, practices, and documents.

重量级方法具有很多规则、惯例、和文档。

It requires discipline and time to follow correctly.

正确地遵循它们需要训练及时间。

A lightweight methodology has only a few rules and practices or ones which are easy to follow.

轻量级方法仅具有很少的一些规则和惯例,或者说,这些规则和惯例遵守起来很容易。

In the late 1960s and early 1970s it was common practice for computer programmers to create software any way they could.

在20世纪的60年代后期以及70年代早期,计算机程序员随意使用他们能够使用的任何方式来写软件是件非常常见的事情。

Many programmers excelled at creating software too complex for anyone to understand.

很多程序员竞相写出复杂得对于任何人来说都无法理解的软件。

At that time it was a miracle if a program ran without any bugs.

如果有一个程序,它没有任何的bug,在那时可称得上是个奇迹。

Making computers useful was considered a worthy quest and not unlike an adventure into the old west.

大家都认为让计算机有用武之地是个有价值的追求,不能说不象老早的西部冒险之旅。

In 1968 Edsger Dijkstra wrote a letter to CACM entitled GOTO Statement Considered Harmful.

Edsger Dijkstra于1968年给CACM(应该是Communication of the Association for Computing Machinery: 计算机器 协会 通信)写了一封题为“GOTO语句其实有害”的信。

The central ideas of software engineering were being born.

自此,软件工程的主要概念开始成型。

At that time we believed that bigger, more disciplined methodologies would help us create software with consistent quality and predictable costs.

那时大家认为更全面、更严谨的方法可以帮助我们创建品质可靠、成本可准确估计的软件。

The lawless cowboy coders were being reined in.

无法无天、牛仔式的编码者们被悬崖勒马。

The 1980s were good times for computer programmers.

20世纪80年代正是计算机程序员们的好时光。

We had a few rules and practices to create software that was far superior in quality to what we were creating only a few years earlier.

我们有了一些规则和惯例。从质量上讲,我们这时写的软件远远优于仅仅是写于几年前的软件。

It seemed like if we could just create enough rules to cover the problems we encounter we could create perfect software and be on time.

似乎可以认为:如果能够建立足够多的规则,可适用于所有能够碰到的问题,我们就能够写出完美的软件,并且还能按时完工。

We added more and more rules and practices to cover all the potential problems.

于是乎就有了越来越多的、适用于所有潜在问题的规则和惯例,

Now in the 21st century we find these rules are hard to follow, procedures are complex and not well understood and the amount of documentation written in some abstract notation is way out of control.

现已进入了21世纪,我们发现,这些规则遵守起来非常困难,其过程很复杂,也没有得以透彻地理解;使用各种抽象符号写就的、海一样的文献犹如脱缰的野马纷至沓来。

Trying to come up with a bigger and better methodology was like a California gold rush; everyone headed west only to be disappointed.

大家热火朝天,都想提出更全面、更好的方法,跟California(加利福尼亚,加州)淘金热似的真有一比;每个到了西部的人却都很失望。

We created software to help us create software.

我们写出了能够帮助我们写软件的软件。

But this quickly got out of control and dreadnought CASE tools were born.

但是,这很快就乱了套,各种重磅炸弹似的CASE工具迎面而来。

These tools, originally created to help us follow the rules, are too hard to use themselves.

这些工具原本是用来帮助我们遵守规则的,可它们用起来很是困难,简直都没法用。

Computer programmers find it necessary to cut corners and skip important practices to stay on schedule.

要按时完工,计算机程序员发现他们必须抄近路,忽略一些重要的惯例。

No one is actually following the heavy methodologies we have handcuffed ourselves with.

实际上没有一个人真的遵守那些曾经用来自缚的重量级方法。

The cowboys have returned and we find ourselves back at the OK Corral.

牛仔又回来了,我们回到了俄克拉荷马州(译者注:俄克拉荷马州是偶对OK的猜测,因为偶了解到俄克拉荷马州曾经是往美国西部输出劳工的一个大州,但可能有误,呵呵)的畜栏之中。

When programmers ignore the rules of their methodology they are instinctively moving away from heavyweight methodologies and back toward an earlier, simpler time of lightweight methodologies when a few rules were enough.

当程序员忽略了他们的方法中的规则时,他们(实际上是)本能地脱离重量级方法,回到了早期较为简单的、轻量级方法时代,很少的规则便够了。

But we don't want to forget what we have learned.

可我们并不想忘记我们已经学到的东西。

We can choose to keep the rules that help us create quality software and throw away those that hinder our progress.

我们可以把(能够)帮助我们写出高质量软件的规则保留下来,而摒弃哪些阻碍我们前进的哪些规则。

We can simplify those rules that seem too complex to follow correctly.

我们可以对那些复杂得难以遵循的规则进行简化。

We don't want to return to the early days of cowboy coding when there were no rules at all.

我们也不想回到早期根本没有任何规则可言的牛仔式编码时代。

But instead let's stop at just enough rules to keep our software reliable and reasonably priced.

而是让我们止于足够能使我们的软件可靠、适度定价的规则吧。

Instead of cowboy coders we have software sheriffs; working together as a team, quick on the draw, armed with a few rules and practices that are light, concise, and effective.

我们接受软件行政长官而不要牛仔式的编码者;我们作为团队工作在一起,反应敏捷,仅仅用那些轻量级的、简练的和有效的规则和惯例把我们武装起来。

Extreme Programming (XP) is one of several new lightweight methodologies.

极度编程(XP)就是若干这种新式的、轻量级的方法之中的一种。

XP has a few rules and a modest number of practices, all of which are easy to follow.

XP具有若干规则和适当数量的惯例,且所有这些遵守起来都很容易。

XP is a clean and concise environment developed by observing what makes software development go faster and what makes it move slower.

XP是一种干净简洁的环境,它形成于对到底是哪些东西能够加速软件开发,以及哪些东西却起着减速作用的观察。

It is an environment in which programmers feel free to be creative and productive but remain organized and focused.

它是一种使程序员能够自由发挥其创造力和生产力,却同时有保持组织性和凝聚力的环境。

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有