資源描述:
《代碼編寫規(guī)范.pdf》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在應(yīng)用文檔-天天文庫。
1、代碼編寫規(guī)范本文檔信息文件狀態(tài):文件編號[]草稿文檔名稱代碼編寫規(guī)范[√]正式發(fā)布當(dāng)前版本1.0[]正在修改作者完成日期2004-3-1審核人:批準(zhǔn)人:歷史版本信息版本/狀態(tài)說明1.0第一次正式發(fā)布代碼編寫規(guī)范目次1簡介.........................................................................................................................................62公共編碼規(guī)范..................
2、.....................................................................................................62.1基本規(guī)范...................................................................................................63注釋公共規(guī)范.........................................................
3、..............................................................63.1基本規(guī)范...................................................................................................63.2文件頭注釋...............................................................................................
4、73.3過程、函數(shù)注釋.......................................................................................73.4事件注釋...................................................................................................73.5代碼修改注釋..........................................................
5、.................................83.6程序中的注釋...........................................................................................94Delphi代碼規(guī)范..................................................................................................................94.1BEGIN..EN
6、D配對.......................................................................................94.2命名規(guī)范................................................................................................104.2.1過程和函數(shù)命名.................................................................
7、.............104.2.2變量命名..........................................................................................104.2.3控件實例命名..................................................................................104.2.4文件命名.....................................................
8、.....................................135PowerBuilder命名規(guī)范.................................