[Kst] extragear/graphics/kst/devel-docs

George Staikos staikos at kde.org
Wed Nov 23 00:24:29 CET 2005

SVN commit 482449 by staikos:

missed one

 M  +4 -0      codingstyle.txt  

--- trunk/extragear/graphics/kst/devel-docs/codingstyle.txt #482448:482449
@@ -131,6 +131,10 @@
 - Pass arguments and return values as const& where applicable for performance
+- Early returns to avoid huge nesting of blocks is -good-.  It makes the code
+  easy to understand.  Do it, and don't remove it.  Use judgement to avoid
+  making soup.
 - Have care to push class instantiations down as far as possible in scope.
   Some are quite expensive to instantiate and there is no value in following
   the old C-style declarations.  Instantiating objects that aren't used just

More information about the Kst mailing list