Cures and preventions : factor out the common code , if possible ; otherwise , update it 治療和預(yù)防措施:如果可能,分解出公共代碼;否則就對(duì)其進(jìn)行更新。
Just as before , we can minimize bugs of this sort by factoring out the common code 就象以前一樣,我們可以通過分解出公共代碼來將這種錯(cuò)誤控制到最少。
True because the compiler might reorder instructions or insert jumps to common code 時(shí)的行為,因?yàn)榫幾g器可能會(huì)將指令重新排序或插入到公共代碼的跳轉(zhuǎn)。
Inspection tools like findbugs provide a second layer of defense against common coding errors Findbugs之類的檢測(cè)工具提供了防止常見編碼錯(cuò)誤的另一層防護(hù)
Code snippets speed the entry of common code constructs by providing a template you can fill out 通過提供可填寫的模板,代碼段加速了通用代碼構(gòu)造的輸入。
The following procedures describe how to perform some of the most common code group addition tasks 以下過程描述如何執(zhí)行一些最常見的公共代碼組添加任務(wù)。
This common code is typically held in a separate code component within the source directory structure 這種通用代碼通常保存在源目錄結(jié)構(gòu)的獨(dú)立代碼組成部分中。
Common code across minor variations of implementations is good , and the pvr can be used for decision making 跨差別較小的實(shí)現(xiàn)的通用代碼還好, pvr可以用于做出判斷。
Maintaining as thorough a common code base for various architectures as possible , using a new compiler 使用新的編譯器,盡可能為多種體系結(jié)構(gòu)維持一個(gè)詳盡的通用代碼基( code base ) 。
Code analysis goes beyond compilation to look for common coding and design errors determined by a set of guidelines 代碼分析超出編譯范圍,用于查找由一組準(zhǔn)則確定的常見編碼和設(shè)計(jì)錯(cuò)誤。