diff options
| author | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2010-02-02 21:51:11 +0200 |
|---|---|---|
| committer | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2010-02-02 21:51:11 +0200 |
| commit | d892624c49583dd8ac2cdb1f4da626f955d10217 (patch) | |
| tree | aacef9cf44b65a3ab78873278f648485b3910ac9 /HACKING | |
| parent | a4ca5304a69080ec312ffba76cc0599d00d7d567 (diff) | |
* HACKING: mention the max 33 non-comment lines in a function
Diffstat (limited to 'HACKING')
| -rw-r--r-- | HACKING | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -18,8 +18,10 @@ 2. lines must not exceed 80 characters (C) or 100 characters (C++) - 3. functions must not exceed 50 lines (there may be rare exceptions), and - 30 lines is already pretty long. + 3. functions must not exceed 40 lines (there may be rare exceptions), and + 30 lines is already pretty long. You can easily check if any functions + violate this rule with 'make line33', which lists all functions with + more than 33 non-comment lines. 4. source files should not exceed 1000 lines |
