The New C Standard- P2

Tham khảo tài liệu 'the new c standard- p2', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 14 Decision making Introduction 0 are constructed on the fly. Observed preferences are likely to take a person s internal preferences and the heuristics used to construct the answer into account. Code maintenance is one situation where the task can have a large impact on how the answer is selected. When small changes are made to existing code many developers tend to operate in a matching mode choosing constructs similar if not identical to the ones in the immediately surrounding lines of code. If writing the same code from scratch there is nothing to match another response mode will necessarily need to be used in deciding what constructs to use. A lot of the theoretical discussion on the reasons for these response mode effects has involved distinguishing between judgment and choice. People can behave differently depending on whether they are asked to make a judgment or a choice. When writing code the difference between judgment and choice is not always clear-cut. Developers may believe they are making a choice between two constructs when in fact they have already made a judgment that has reduced the number of alternatives to choose between. Writing code is open-ended in the sense that theoretically there are an infinite number of different ways of implementing what needs to be done. Only half a dozen of these might be considered sensible ways of implementing some given functionality with perhaps one or two being commonly used. Developers often limit the number of alternatives under consideration because of what they perceive to be overriding external factors such as preferring an inline solution rather than calling a library function because of alleged quality problems with that library. One possibility is that decision making during coding be considered as a two-stage process using judgment to select the alternatives from which one is chosen. Information display Studies have shown that how information used in making a decision is displayed can influence the

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
100    73    3    29-03-2024
Đã 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.