版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
软件工程-敏捷开发(中英文对照)极限编程
(ExtremeProgramming,简称为XP)敏捷开发被认为是一种“轻量级”的方法。在轻量级方法中最负盛名的应该是“极限编程”(ExtremeProgramming,简称为XP)。而与轻量级方法相对应的是“重量级方法”的存在。重量级方法强调以开发过程为中心,而不是以人为中心。ExtremeProgramming(XP)isasoftwaredevelopmentmethodologywhichisintendedtoimprovesoftwarequalityandresponsivenesstochangingcustomerrequirements.Asatypeofagilesoftwaredevelopment,itadvocatesfrequent"releases"inshortdevelopmentcycles(timeboxing),whichisintendedtoimproveproductivityandintroducecheckpointswherenewcustomerrequirementscanbeadopted.OtherelementsofExtremeProgramminginclude:programminginpairsordoingextensivecodereview,unittestingofallcode,avoidingprogrammingoffeaturesuntiltheyareactuallyneeded,aflatmanagementstructure,simplicityandclarityincode,expectingchangesinthecustomer'srequirementsastimepassesandtheproblemisbetterunderstood,andfrequentcommunicationwiththecustomerandamongprogrammers.Themethodologytakesitsnamefromtheideathatthebeneficialelementsoftraditionalsoftwareengineeringpracticesaretakento"extreme"levels,onthetheorythatifalittleisgood,moreisbetter.Criticshavenotedseveralpotentialdrawbacks弊端,
includingproblemswithunstablerequirements,nodocumentedcompromises(妥协、折衷)
ofuserconflicts(争执),andalackofanoveralldesignspecificationordocument.重量级方法呈现的是一种“防御型”的姿态。在应用“重量级方法”的软件组织中,由于软件项目经理不参与或者很少参与程序设计,无法从细节上把握项目进度,因而会对项目产生“恐惧感”,不得不要求程序员不断撰写很多“软件开发文档”。轻量级方法则呈现“进攻型”的姿态,这一点从XP方法特别强调的五种价值沟通communication,简单simplicity,反馈feedback,勇气courage,尊重respect。
ThevaluesofXP:
1.CommunicationBuildingsoftwaresystemsrequirescommunicatingsystemrequirementstothedevelopersofthesystem.Informalsoftwaredevelopmentmethodologies,thistaskisaccomplishedthroughdocumentation.Extremeprogrammingtechniquescanbeviewedasmethodsforrapidlybuildinganddisseminating散播institutionalknowledgeamongmembersofadevelopmentteam.Thegoalistogivealldevelopersasharedviewofthesystemwhichmatchestheviewheldbytheusersofthesystem.Tothisend,extremeprogrammingfavorssimpledesigns,commonmetaphors,collaborationofusersandprogrammers,frequentverbalcommunication,andfeedback.
ThevaluesofXP:2.SimplicityExtremeprogrammingencouragesstartingwiththesimplestsolution.Extrafunctionalitycanthenbeaddedlater.Thedifferencebetweenthisapproachandmoreconventionalsystemdevelopmentmethodsisthefocusondesigningandcodingfortheneedsoftodayinsteadofthoseoftomorrow,nextweek,ornextmonth.Thisissometimessummedupasthe"youain'tgonnaneedit"(YAGNI)approach.适可而止的设计"Youain'tgonnaneedit"or“Youaren′tgonnaneedit”(acronym:YAGNI)istheprincipleinextremeprogrammingthatprogrammersshouldnotaddfunctionalityuntilitisnecessary.RonJeffrieswrites,"Alwaysimplementthingswhenyouactuallyneedthem,neverwhenyoujustforeseethatyouneedthem."
ThevaluesofXP:2.SimplicityProponents支持者ofXPacknowledgethedisadvantagethatthiscansometimesentailmoreefforttomorrowtochangethesystem;theirclaimisthatthisismorethancompensatedforbytheadvantageofnotinvestinginpossiblefuturerequirementsthatmightchangebeforetheybecomerelevant.Codinganddesigningforuncertainfuturerequirementsimpliestheriskofspendingresourcesonsomethingthatmightnotbeneeded.Relatedtothe"communication"value,simplicityindesignandcodingshouldimprovethequalityofcommunication.Asimpledesignwithverysimplecodecouldbeeasilyunderstoodbymostprogrammersintheteam.
ThevaluesofXP:3.FeedbackWithinextremeprogramming,feedbackrelatestodifferentdimensionsofthesystemdevelopment:Feedbackfromthesystem:bywritingunittests,orrunningperiodicintegrationtests,theprogrammershavedirectfeedbackfromthestateofthesystemafterimplementingchanges.Feedbackfromthecustomer:Thefunctionaltests(aka又叫做;亦称为(=alsoknownas)
acceptancetests)arewrittenbythecustomerandthetesters.Theywillgetconcretefeedbackaboutthecurrentstateoftheirsystem.Thisreviewisplannedonceineverytwoorthreeweekssothecustomercaneasilysteerthedevelopment.Feedbackfromtheteam:Whencustomerscomeupwithnewrequirementsintheplanninggametheteamdirectlygivesanestimationofthetimethatitwilltaketoimplement.
ThevaluesofXP:3.FeedbackFeedbackiscloselyrelatedtocommunicationandsimplicity.Flawsinthesystemareeasilycommunicatedbywritingaunittestthatprovesacertainpieceofcodewillbreak.Thedirectfeedbackfromthesystemtellsprogrammerstorecodethispart.Acustomerisabletotestthesystemperiodicallyaccordingtothefunctionalrequirements,knownasuserstories.ToquoteKentBeck,"Optimismisanoccupationalhazardofprogramming.Feedbackisthetreatment."
ThevaluesofXP:4.CourageSeveralpracticesembodycourage.Oneisthecommandmenttoalwaysdesignandcodefortodayandnotfortomorrow.Thisisanefforttoavoidgettingboggeddownindesignandrequiringalotofefforttoimplementanythingelse.Courageenablesdeveloperstofeelcomfortablewithrefactoringtheircodewhennecessary.Thismeansreviewingtheexistingsystemandmodifyingitsothatfuturechangescanbeimplementedmoreeasily.Anotherexampleofcourageisknowingwhentothrowcodeaway:couragetoremovesourcecodethatisobsolete,nomatterhowmucheffortwasusedtocreatethatsourcecode.
ThevaluesofXP:4.CourageAlso,couragemeanspersistence:Aprogrammermightbestuckonacomplexproblemforanentireday,thensolvetheproblemquicklythenextday,ifonlytheyarepersistent.
ThevaluesofXP:5.Respect
Therespectvalueincludesrespectforothersaswellasself-respect.Programmersshouldnevercommitchangesthatbrea
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 基于人工智能的2024年度窗帘颜色搭配咨询合同
- 管桩合同范本
- 2024年度服装企业社会责任实施合同3篇
- 综合出口信用证抵押外汇借款04年合同
- 退休人员返聘合同协议书范本 2篇
- 有关代理商合同范本
- 2024年度商场促销活动LED广告合同3篇
- 人教版九年级化学第八单元2金属的化学性质课时2金属活动性顺序分层作业课件
- 人教版九年级化学第一单元走进化学世界3走进化学实验室课时1化学实验常用仪器及药品的取用教学教学课件
- 人教版九年级化学第四单元自然界的水实践活动水质检测及自制净水器教学课件
- 言语的第三思维结合语境
- TD-T 1070.4-2022 矿山生态修复技术规范 第4部分:建材矿山
- 城市轨道交通设备系统之通风空调系统概述
- 绿盟极光漏洞扫描工具使用方法
- APQP-4-08产品质量策划总结和认定报告
- 五年级语文上学情分析(每一课都有,全)
- 四升五数学测试题(2022年整理)
- mom-knows-best-诗歌教学讲解课件
- 2022年征信知识竞赛基础题题库(含各题型)
- 新概念英语青少版入门级Starter A 结业测试 含答案
- 临床科室医疗质量管理与持续改进培训课件
评论
0/150
提交评论