翻訳と辞書
Words near each other
・ comma
・ comma separated values
・ command
・ command control processor
・ command interpreter
・ command key
・ command line interface
・ command line option
・ command-line interpreter
・ commen
・ comment
・ comment out
・ commercial at
・ commercial internet exchange
・ commercial off-the-shelf software
・ commercial software
・ commercial translator
・ committed data rate
・ committed information rate
・ commodore 1010


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Comment : FOLDOC
comment
(Or "remark") Explanatory text embedded in program source (or less often data) intended to help human readers understand it.
Code completely without comments is often hard to read, but code with too many comments is also bad, especially if the comments are not kept up-to-date with changes to the code. Too much commenting may mean that the code is over-complicated. A good rule is to comment everything that needs it but write code that doesn't need much of it. Comments that explain __why__ something is done and how the code relates to its environment are useful.
A particularly irksome form of over-commenting explains exactly what each statement does, even when it is obvious to any reasonably competant programmer, e.g.
/* Open the input file */
infd = open(input_file, O_RDONLY);

(2007-02-19)



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.