Collaborative Development

xiaoxiao2021-03-06  94

Collaborative construction refers to pair programming, formal inspections, informal techinical reviews and document reading, as well as other techniques in which developers share responsibility for creating code and other workproducts.

The primary purpose of collaborative construction is to improve software quality.Benifits:. 1 Better code quality arises from multiple sets of eyes seeing the code and multiple programmers working on the code.2 The risk of someone leaving the project is lower because multiple people. AER Familiar with Each Section of Code.3. Defect-Correction Cycles Are Shorter Overall Because Any Offagers CAN Potentially Be Assigned To FIX BUGS ON AN As-Available Basis

Keys to success with pair programming1. Support pair programming with coding standards.2. Do not let pair programming turn into watching.3. Do not force pair programming of the easy stuff.4. Rotate pairs and work assignments regularly.5. Encourage Pairs to match EACH OTHER's PACE.6. Make Sure Both Partners Can See The Monitor.7. Don't Force People to Pair.8. Avoid Pairing All Newbies.9. Assign A Team Leader.

Benefits of pair programming1. It holds up better under stress than solo development. Pairs help keep each other honest and encourage each other to keep code quality high even when there's pressure to write quick and dirty code.2. Code quality improves.3. It PROduces All The Other General Benefits of Collaborative Constructions Including Disseminating Corporate Culture, Mentoring Junior ProgramIn Fostering Collective Ownership.

Formal InspectionsAn inspection is a specific kind of review that has been shown to be extremely effective in detecting defects and to be relatively economical compared to testing.Roles during an inspection1. Moderator. Responsible for keeping the inspection moving at a rate that's fast enough to be productive but slow enough to find the most errors possible This person must be technically competent -. not necessarily an expert in the particular design or code under inspection, but capable of understanding relevant details This person manages other aspects of the inspection, such as. distributing the design or code to reviewed and the inspection checklist, setting up a meeting room, reporting inspection results.2. Author. The person who wrote the design or cod palys a relatively minor role in the inspection. Duties are to explain parts of the Design or Code That Uneclear.3. Reviewer. A Reviewer IS Anyone Who Has A Direct Interest in The Design or Code But Who Is Not The Author. The R OLE of the Reviewer Is To Find Defects.4. Scribe. The Scribe Records Errors That Are Detected and The Assignments of Action Items During The Inspection Meeting.5. Management. Not USUALLY A Good Idea.

General procedure for an inspection1. Planning. The author gives the design ro code to the moderator. The moderator decides who will review the material and when and where the inspection meeting will occur, and then distributes the design or code and a checklist that focuses the attention of the inspectors.2. Overview. When the reviewers are not familiar with the project they are reviewing, the author can spend up to an hour or so describing the technical environment withing which the design or code has beeng created.3. Preparation . Each reviewer works alone for about 90 minutes to beconde familiar with the design or code.4. Inspection meeting. The moderator chooses someone to paraphrase the design or read the code. During the presentation, the scribe records errors as they are detected.5 Inspection Report. WITHING A day of the inspection Meeting, The Moderator Produces An Inspection Report That Lists Each Defect.6. Rework. Resolve Each Defect on the list.7. Follow-Up. The Moderator IS responsible for seeing that all rework assigned during the inspection is carried out. If more than 5% of the design or code needs to be reworked, the whole inspection process should be repeated.8. Third-hour meeting. Can hold an informal, third -hour meeting to allow interested parties to discuss solutions after the official inspection is over.Egos in inspection:. The point of the inspection itself is to descover defects in the design or code It is not explore alternatives or to debate about who is right and WHO is Wrong. The point is most............

转载请注明原文地址:https://www.9cbs.com/read-104478.html

New Post(0)