From 08c2fba2a008dbf41d8ede999b3ece636407ba28 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Mon, 3 Dec 2001 17:41:26 +0000 Subject: [PATCH] add note about long conditions git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3141 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/ChangeLog | 4 ++++ development/Code_rules/Recommendations | 2 ++ 2 files changed, 6 insertions(+) diff --git a/development/ChangeLog b/development/ChangeLog index 1053a7d776..386db22a49 100644 --- a/development/ChangeLog +++ b/development/ChangeLog @@ -1,3 +1,7 @@ +2001-12-03 André Pönitz + + * Code_rules/Recommendations: add note about long conditions + 2001-10-08 Jean-Marc Lasgouttes * gettext.patch: update to gettext 0.10.40 diff --git a/development/Code_rules/Recommendations b/development/Code_rules/Recommendations index ca838e3a3a..ae1ef292e9 100644 --- a/development/Code_rules/Recommendations +++ b/development/Code_rules/Recommendations @@ -50,6 +50,8 @@ follow these rules, but they should be the goal. - ensure that global objects are initialized before they are used. +- avoid conditions to 'if' and 'while' that span more than a line + -------- S. Meyers. Effective C++, 50 Specific Ways to Improve Your Programs and -- 2.39.5