summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2010-02-02 21:51:11 +0200
committerDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2010-02-02 21:51:11 +0200
commitd892624c49583dd8ac2cdb1f4da626f955d10217 (patch)
treeaacef9cf44b65a3ab78873278f648485b3910ac9 /HACKING
parenta4ca5304a69080ec312ffba76cc0599d00d7d567 (diff)
* HACKING: mention the max 33 non-comment lines in a function
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING6
1 files changed, 4 insertions, 2 deletions
diff --git a/HACKING b/HACKING
index 9a5916f..6873989 100644
--- a/HACKING
+++ b/HACKING
@@ -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