版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
軟件工程-敏捷開發(fā)(中英文對照)極限編程
(ExtremeProgramming,簡稱為XP)敏捷開發(fā)被認為是一種“輕量級”的方法。在輕量級方法中最負盛名的應該是“極限編程”(ExtremeProgramming,簡稱為XP)。而與輕量級方法相對應的是“重量級方法”的存在。重量級方法強調(diào)以開發(fā)過程為中心,而不是以人為中心。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(妥協(xié)、折衷)
ofuserconflicts(爭執(zhí)),andalackofanoveralldesignspecificationordocument.重量級方法呈現(xiàn)的是一種“防御型”的姿態(tài)。在應用“重量級方法”的軟件組織中,由于軟件項目經(jīng)理不參與或者很少參與程序設計,無法從細節(jié)上把握項目進度,因而會對項目產(chǎn)生“恐懼感”,不得不要求程序員不斷撰寫很多“軟件開發(fā)文檔”。輕量級方法則呈現(xiàn)“進攻型”的姿態(tài),這一點從XP方法特別強調(diào)的五種價值溝通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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 用土協(xié)議合同范例
- 攔魚網(wǎng)采購合同范例
- 管道清淤工合同范例
- 養(yǎng)殖場合作協(xié)議書版3篇
- 商務出差合同模板3篇
- 企業(yè)加盟合同書模板3篇
- 小型塔吊轉讓合同范例
- 加油站合作經(jīng)營協(xié)議書3篇
- 全新合伙經(jīng)營車輛協(xié)議3篇
- 歷史文化建筑裝修環(huán)保協(xié)議3篇
- 2024年全新七年級語文上冊期末試卷及答案(人教版)
- 2024年超聲科工作總結
- 北京郵電大學《大數(shù)據(jù)技術與應用》2022-2023學年期末試卷
- 康復醫(yī)學概論練習題庫(附答案)
- 浙江省【高等職業(yè)技術教育招生考試】-商業(yè)類(電子商務)-職業(yè)技能理論知識(一)(答案版)
- (必會)軍隊文職(醫(yī)學檢驗技術)近年考試真題題庫(含答案解析)
- 吉林高校新型智庫建設實施方案
- DBJT 13-460-2024 既有多層住宅建筑增設電梯工程技術標準
- 2024山東高速路橋集團股份限公司校園招聘430人高頻難、易錯點500題模擬試題附帶答案詳解
- 第八屆全國測繪地理信息行業(yè)職業(yè)技能競賽理論考試題庫及答案
- 廣東省珠海市香州區(qū)2024-2025學年九年級物理上學期期末教學質量監(jiān)測試題
評論
0/150
提交評論