comparison HACKING @ 4751:b87f8c707b7f

branch merge
author Andrew O. Shadoura <bugzilla@tut.by>
date Wed, 06 Aug 2008 22:33:27 +0300
parents c1c536313023
children
comparison
equal deleted inserted replaced
4750:74134c731db6 4751:b87f8c707b7f
1 Hacking / coding guide for Audacious and Audacious-plugins 1 Hacking / coding guide for Audacious and Audacious-plugins
2 ========================================================== 2 ==========================================================
3 (C) Copyright 2008 Audacious Development Team 3 (C) Copyright 2008 Audacious Development Team
4 Written by Matti 'ccr' Hämäläinen <ccr@tnsp.org>, and mercilessly
5 edited by others.
6 4
7 5
8 Preamble 6 Preamble
9 ======== 7 ========
10 8
88 - Avoid reinventing wheels, avoid code duplication. If same thing is done 86 - Avoid reinventing wheels, avoid code duplication. If same thing is done
89 in two places, it should be in a library, or possibly in Audacious core. 87 in two places, it should be in a library, or possibly in Audacious core.
90 Discuss about it with fellow developers. 88 Discuss about it with fellow developers.
91 89
92 90
91 - In the core, DO NOT WRITE CODE THAT IS DEPENDENT ON A SPECIFIC UI OR
92 INTERFACE. The core should NEVER care what interface is in use.
93
93 94
94 Additional style guidelines 95 Additional style guidelines
95 =========================== 96 ===========================
96 97
97 - Indentation: Use the same indentation style (also spaces vs. tabs) 98 - Indentation: Use the same indentation style (also spaces vs. tabs)