TAILIEUCHUNG - Thinking in Java 3rd Edition phần 10

Trong khi lặp lại thông qua một tập hợp các phím, bạn luôn biết có một mục nhập như vậy bằng cách sử dụng vô giá trị mặc định là an toàn, nhưng thông thường bạn sẽ được lấy một khóa có tên là, như trong: Phản hồi ("đồng hành", 0)); | books generally however these books are small and pleasant to read . Feedback XP is both a philosophy about programming work and a set of guidelines to do it. Some of these guidelines are reflected in other recent methodologies but the two most important and distinct contributions in my opinion are write tests first and pair programming. Although he argues strongly for the whole process Beck points out that if you adopt only these two practices you ll greatly improve your productivity and reliability. Feedback Write tests first Testing has traditionally been relegated to the last part of a project after you ve gotten everything working but just to be sure. It s implicitly had a low priority and people who specialize in it have not been given a lot of status and have often even been cordoned off in a basement away from the real programmers. Test teams have responded in kind going so far as to wear black clothing and cackling with glee whenever they break something to be honest I ve had this feeling myself when breaking compilers . Feedback XP completely revolutionizes the concept of testing by giving it equal or even greater priority than the code. In fact you write the tests before you write the code that will be tested and the tests stay with the code forever. The tests must be executed successfully every time you do a build of the project which is often sometimes more than once a day . Feedback Writing tests first has two extremely important effects. Feedback First it forces a clear definition of the interface of a class. I ve often suggested that people imagine the perfect class to solve a particular problem as a tool when trying to design the system. The XP testing strategy goes further than that it specifies exactly what the class must look like to the consumer of that class and exactly how the class must behave. In no uncertain terms. You can write all the prose or create all the diagrams you want describing how a class should behave and what it looks like .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.