changeset 4419:35444232ac7e

Note about code duplication.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 31 Mar 2008 17:31:38 +0300
parents ac8d871b6075
children fa676e489b64
files HACKING
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/HACKING	Mon Mar 31 17:27:50 2008 +0300
+++ b/HACKING	Mon Mar 31 17:31:38 2008 +0300
@@ -22,7 +22,7 @@
 =================
 
 - We use Glib for portability. This means that we have sized integer types
-  like gint{16,32,64}, etc. and shorthand types like guint and guchar
+  such as gint{16,32,64}, etc. and shorthand types like guint and guchar
   provided, so please do use them.
 
   Arguably C99 provides inttypes.h with similar types, but C99 support
@@ -75,6 +75,11 @@
   documentation for more information.
 
 
+- Avoid reinventing wheels, avoid code duplication. If same thing is done
+  in two places, it should be in a library, or possibly in Audacious core.
+  Discuss about it with fellow developers.
+
+
 
 Additional style guidelines
 ===========================