版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
軟件工程-敏捷開發(fā)(中英文對(duì)照)極限編程
(ExtremeProgramming,簡稱為XP)敏捷開發(fā)被認(rèn)為是一種“輕量級(jí)”的方法。在輕量級(jí)方法中最負(fù)盛名的應(yīng)該是“極限編程”(ExtremeProgramming,簡稱為XP)。而與輕量級(jí)方法相對(duì)應(yīng)的是“重量級(jí)方法”的存在。重量級(jí)方法強(qiáng)調(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.重量級(jí)方法呈現(xiàn)的是一種“防御型”的姿態(tài)。在應(yīng)用“重量級(jí)方法”的軟件組織中,由于軟件項(xiàng)目經(jīng)理不參與或者很少參與程序設(shè)計(jì),無法從細(xì)節(jié)上把握項(xiàng)目進(jìn)度,因而會(huì)對(duì)項(xiàng)目產(chǎn)生“恐懼感”,不得不要求程序員不斷撰寫很多“軟件開發(fā)文檔”。輕量級(jí)方法則呈現(xiàn)“進(jìn)攻型”的姿態(tài),這一點(diǎn)從XP方法特別強(qiáng)調(diào)的五種價(jià)值溝通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.適可而止的設(shè)計(jì)"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等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024年度年福建省高校教師資格證之高等教育心理學(xué)能力測試試卷A卷附答案
- 2024年度山西省高校教師資格證之高等教育法規(guī)每日一練試卷A卷含答案
- 四川省網(wǎng)約配送員職業(yè)技能競賽理論考試題及答案
- 三年級(jí)數(shù)學(xué)計(jì)算題專項(xiàng)練習(xí)匯編及答案集錦
- 2024建筑施工協(xié)議代理業(yè)務(wù)規(guī)范稿
- 2024投標(biāo)專用協(xié)議樣本解析
- 基于網(wǎng)絡(luò)空間安全的個(gè)人信息保護(hù)研究
- 2024年復(fù)婚二次離婚協(xié)議規(guī)范樣本
- 2024專業(yè)紅娘服務(wù)會(huì)員協(xié)議
- 2024年度高品質(zhì)防盜門供應(yīng)協(xié)議范例
- 消防安全-情系你我他
- 短視頻的拍攝與剪輯
- 產(chǎn)品設(shè)計(jì)-淺談智能藍(lán)牙音響的外觀創(chuàng)新設(shè)計(jì)
- 江蘇省南京江寧聯(lián)合體2023-2024學(xué)年八年級(jí)上學(xué)期期中考試英語試卷
- 快速康復(fù)外科(ERAS)護(hù)理
- 醫(yī)療機(jī)構(gòu)安全檢查表
- 第六章-巷道支護(hù)01
- 應(yīng)急管理法律法規(guī)及國標(biāo)行標(biāo)清單
- 監(jiān)理規(guī)劃、監(jiān)理細(xì)則審批表
- 香菇種植示范基地項(xiàng)目可行性策劃實(shí)施方案
- 施工現(xiàn)場材料使用明細(xì)表
評(píng)論
0/150
提交評(píng)論