namazu-dev(ring)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

abolishing entire rows of asterisks



/*******************************************************
 *
 *  this is a comment
 *
 *******************************************************/

を

/*
 *
 *  this is a comment
 *
 */

に置き換えました。アスタリスクだけの行は保守が面倒なので。
(アスタリスクの数を揃えるのに時間をかけるなんてあほらしい)

参考: Indian Hill C Style and Coding Standards より

| 2.  File Organization
| 
|      A file consists of  various  sections  that  should  be
| separated by several blank lines.  Although there is no max-
| imum length requirement for source files,  files  with  more
| than about 1500 lines are cumbersome to deal with.  The edi-
| tor may not have enough temp space to edit the file,  compi-
| lations  will go slower, etc.  Since most of us use 300 baud
| terminals, entire rows of asterisks, for example, should  be
| discouraged3.  Also lines longer than  80  columns  are  not
| handled  well by all terminals and should be avoided if pos-
| sible4.

# Since most of us use 300 baud terminals というところが時代
# を感じさせます。:-)

-- Satoru Takabayashi