2.12 Incremental DevelopmentThere are many styles and methods for writ dịch - 2.12 Incremental DevelopmentThere are many styles and methods for writ Việt làm thế nào để nói

2.12 Incremental DevelopmentThere a

2.12 Incremental Development
There are many styles and methods for writing programs. Although some people
will argue that one method is better than another, you are the only person who can
make that determination. Unfortunately, most developers make such decisions
32 Chapter 2 The Baseline Personal Process
TABLE 2.12 PSP0 PLAN SUMMARY INSTRUCTIONS
Purpose To hold the plan and actual data for programs or program parts
General “To-Date” is the total actual to-date values for all products
developed.
Header Enter your name and the date.
Enter the program name and number.
Enter the instructor’s name and the programming language you
are using.
Time in Phase Enter the estimated total time.
Enter the actual time by phase and the total time.
To Date: Enter the sum of the actual times for this program plus
the To-Date times from the most recently developed program.
To Date %: Enter the percentage of To-Date time in each phase.
Defects Injected Enter the actual defects by phase and the total actual defects.
To Date: Enter the sum of the actual defects injected by phase
and the To-Date values for the most recent previously developed
program.
To Date %: Enter the percentage of the To-Date defects injected
by phase.
Defects Removed To Date: Enter the actual defects removed by phase plus the ToDate values for the most recent previously developed program.
To Date %: Enter the percentage of the To-Date defects removed
by phase.
After development, record any defects subsequently found during
program testing, use, reuse, or modification.
based solely on their intuition and what other people tell them. With the PSP, however, you will have the data to determine which methods most help you to efficiently produce quality programs for predictable costs and on committed schedules.
Some developers, when they take the PSP course, argue that the only way
they can develop programs is to write a few lines of code and then compile and
test them to make sure that they run. Then they write another couple of lines
and compile the combined old and new code and run it. They follow this incremental approach until they have a complete running program. Although there are
many potential problems with this approach, no development approach is entirely
problem-free.
Unfortunately, this particular method of developing programs requires a different process than the one presented with the PSP. Although there are many ways
you could define a process to work this way, these processes are generally difficult
to teach. The problem is not that the processes are inefficient or bad, but they are
hard to measure and the resulting process data are difficult to interpret.
You could use whatever method you prefer for writing the PSP programs and
merely record the small increments of time for each step. For example, if you
spent three minutes writing two lines of code, a minute compiling the code, and
another three minutes testing it, you could record your time that way. Then, with
the next few lines, another four minutes of coding would bring your coding time
up to seven minutes, and so forth. You could then accumulate your time in this
way until you completed the program. However, doing this has two disadvantages.
First, some of the PSP methods introduced a little later will be more difficult to
handle with this type of process. Second, your data will not be comparable to that
of the many thousands of developers who have already taken the PSP course. This
will make it more difficult for your instructor to assess your work and to advise
you on how best to improve.
In Chapter 13, I discuss various example processes you might want to try out
after you complete the PSP course. One of these is the PSP3 process, which follows
an iterative development strategy. However, PSP3 presumes that your iterations are
each somewhat larger than a few lines of code. I also discuss the process I used in
learning VB.NET. Here, I was using a very large and complex environment with
many canned functions that I did not know. I found it most convenient to use a prototyping process that first produced running code. I then produced and reviewed the
program’s design. This process enabled me to experiment with the various functions to find the ones that best fit my needs without worrying about recording all the
defects normally associated with learning. Once I found something that seemed to
work properly, however, I did record all the subsequent defects I found.
During the PSP course, try to follow the process given in the scripts. Then,
after you have learned the PSP, feel free to modify the process in whatever way
suits you. However, as you do, gather data on your work and use that data to guide
you in deciding on the best processes and methods to use.
2.12 Incremental Development 33
2.13 PSP Tool Support
When I originally developed and taught the PSP, no support tools were available,
so we had to manually gather the data with paper forms, make the required analysis calculations by hand or on a spreadsheet, and store the data on paper records
or a personal data repository. Although this manual process was inconvenient and
error prone, it took surprisingly little time. Now, with the available PSP support
tools, data recording is relatively painless and the required process calculations
are done automatically. For information on the available PSP support tools, see
www.sei.cmu.edu/tsp/.
2.14 Summary
A defined process can help you to understand your performance as a software developer and to see where and how to improve. This chapter introduces the PSP0
process, which you will use to complete the initial programming assignment in the
text.
With the PSP0 process, you measure the time spent in each development
phase and the defects you inject, find, and fix. You will also use a support tool for
defect and time recording. Then you will use these data in later chapters to make
better plans and to improve the quality and productivity of your work.
2.15 Exercises
The standard assignment for this chapter uses PSP0 to write one or more programs. The assignment kits for these programs can be obtained from your
instructor or at www.sei.cmu.edu/tsp/. The PSP assignment kits contain the specifications for the exercise programs and the PSP process scripts. In completing the
assignments, faithfully follow the specified PSP process, record all required data,
and produce a program report according to the specification given in the assignment kit.
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
2.12 gia tăng phát triểnCó rất nhiều phong cách và phương pháp để viết chương trình. Mặc dù một số ngườisẽ tranh luận rằng một phương pháp là tốt hơn so với khác, bạn là người duy nhất có thểlàm cho rằng quyết tâm. Thật không may, hầu hết các nhà phát triển làm cho quyết định như vậy32 2 chương trình cá nhân đường cơ sởBẢNG 2.12 PSP0 KẾ HOẠCH HƯỚNG DẪN TÓM TẮTMục đích để tổ chức các kế hoạch và các dữ liệu thực tế cho chương trình hoặc chương trình chi tiếtChung "To-Date" là giá trị tất cả thực tế đến ngày cho tất cả sản phẩmphát triển.Tiêu đề nhập tên của bạn và ngày.Nhập tên chương trình và số.Nhập tên của người hướng dẫn và ngôn ngữ lập trình bạnđang sử dụng.Thời gian trong giai đoạn nhập ước tính tổng số thời gian.Nhập thời gian thực tế bởi giai đoạn và thời gian tất cả.Đến nay: Nhập tổng thời gian thực sự cho chương trình này cộng vớithời gian đến-ngày từ chương trình phát triển mới nhất.Để ngày %: Nhập tỷ lệ phần trăm thời gian To Date ở từng giai đoạn.Khuyết tật tiêm nhập các Khuyết tật thực tế bởi giai đoạn và các Khuyết tật thực tế tất cả.Đến nay: Nhập tổng của các Khuyết tật thực tế tiêm bởi giai đoạnvà các giá trị đến ngày cho gần đây nhất trước đây phát triểnchương trình.Đến ngày %: Nhập tỷ lệ phần trăm của các Khuyết tật đến ngày tiêmbởi giai đoạn.Khuyết tật Removed đến nay: Nhập thực tế lỗi gỡ bỏ bởi giai đoạn cộng với các giá trị NHCTVN cho chương trình phát triển trước đây đặt.Đến ngày %: Nhập tỷ lệ phần trăm của các Khuyết tật ngày để loại bỏbởi giai đoạn.Sau khi phát triển, ghi lại bất kỳ Khuyết tật sau đó tìm thấy trongchương trình thử nghiệm, sử dụng, tái sử dụng, hoặc sửa đổi.Dựa vào trực giác của họ và những gì người khác nói với họ. Với PSP, Tuy nhiên, bạn sẽ có dữ liệu để xác định phương pháp mà đặt giúp bạn một cách hiệu quả sản xuất chương trình chất lượng cho các chi phí dự đoán và trên lịch trình cam kết.Một số nhà phát triển, khi họ tham gia khóa học PSP, cho rằng cách duy nhấthọ có thể phát triển chương trình là để viết một vài dòng mã và sau đó biên dịch vàkiểm tra chúng để đảm bảo rằng họ chạy. Sau đó họ viết một vài dòngvà biên dịch mã cũ và mới kết hợp và chạy nó. Họ thực hiện theo cách tiếp cận này gia tăng cho đến khi họ có một chương trình chạy hoàn toàn. Mặc dù cónhiều vấn đề tiềm năng với cách tiếp cận này, không có phương pháp phát triển là hoàn toànvấn đề miễn phí.Thật không may, phương pháp này đặc biệt của chương trình phát triển đòi hỏi một quá trình khác nhau hơn một trình bày với PSP. Mặc dù có rất nhiều cáchbạn có thể xác định một quá trình làm việc theo cách này, các quá trình này được thường khó khănđể dạy. Vấn đề không phải là các quá trình là không hiệu quả hoặc xấu, nhưng họ làkhó để đo lường và trình kết quả dữ liệu rất khó để giải thích.Bạn có thể sử dụng bất cứ phương pháp bạn thích để viết chương trình PSP vàchỉ ghi lại từng bước nhỏ của thời gian cho mỗi bước. Ví dụ, nếu bạnđã dành ba phút viết hai dòng mã, một phút biên soạn mã, vàanother three minutes testing it, you could record your time that way. Then, withthe next few lines, another four minutes of coding would bring your coding timeup to seven minutes, and so forth. You could then accumulate your time in thisway until you completed the program. However, doing this has two disadvantages.First, some of the PSP methods introduced a little later will be more difficult tohandle with this type of process. Second, your data will not be comparable to thatof the many thousands of developers who have already taken the PSP course. Thiswill make it more difficult for your instructor to assess your work and to adviseyou on how best to improve.In Chapter 13, I discuss various example processes you might want to try outafter you complete the PSP course. One of these is the PSP3 process, which followsan iterative development strategy. However, PSP3 presumes that your iterations areeach somewhat larger than a few lines of code. I also discuss the process I used inlearning VB.NET. Here, I was using a very large and complex environment withmany canned functions that I did not know. I found it most convenient to use a prototyping process that first produced running code. I then produced and reviewed theprogram’s design. This process enabled me to experiment with the various functions to find the ones that best fit my needs without worrying about recording all thedefects normally associated with learning. Once I found something that seemed towork properly, however, I did record all the subsequent defects I found.During the PSP course, try to follow the process given in the scripts. Then,after you have learned the PSP, feel free to modify the process in whatever waysuits you. However, as you do, gather data on your work and use that data to guideyou in deciding on the best processes and methods to use.2.12 Incremental Development 332.13 PSP Tool SupportWhen I originally developed and taught the PSP, no support tools were available,so we had to manually gather the data with paper forms, make the required analysis calculations by hand or on a spreadsheet, and store the data on paper recordsor a personal data repository. Although this manual process was inconvenient anderror prone, it took surprisingly little time. Now, with the available PSP supporttools, data recording is relatively painless and the required process calculationsare done automatically. For information on the available PSP support tools, seewww.sei.cmu.edu/tsp/.2.14 SummaryA defined process can help you to understand your performance as a software developer and to see where and how to improve. This chapter introduces the PSP0process, which you will use to complete the initial programming assignment in thetext.With the PSP0 process, you measure the time spent in each developmentphase and the defects you inject, find, and fix. You will also use a support tool fordefect and time recording. Then you will use these data in later chapters to make
better plans and to improve the quality and productivity of your work.
2.15 Exercises
The standard assignment for this chapter uses PSP0 to write one or more programs. The assignment kits for these programs can be obtained from your
instructor or at www.sei.cmu.edu/tsp/. The PSP assignment kits contain the specifications for the exercise programs and the PSP process scripts. In completing the
assignments, faithfully follow the specified PSP process, record all required data,
and produce a program report according to the specification given in the assignment kit.
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2024 I Love Translation. All reserved.

E-mail: