From d892624c49583dd8ac2cdb1f4da626f955d10217 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Tue, 2 Feb 2010 21:51:11 +0200 Subject: [PATCH] * HACKING: mention the max 33 non-comment lines in a function --- HACKING | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/HACKING b/HACKING index 9a5916fe..68739893 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