tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

commit 600ffb11700635694e2cb57e376519979d9e40d4
parent 2b62a972f5fd2f850f4648cc398a22e716714bc7
Author: boyska <piuttosto@logorroici.org>
Date:   Mon,  2 May 2011 11:14:42 +0200

Simple style guidelines, as discussed in ML

Diffstat:
AHACKING | 21+++++++++++++++++++++
1 file changed, 21 insertions(+), 0 deletions(-)

diff --git a/HACKING b/HACKING @@ -0,0 +1,21 @@ +Style guidelines +=============== + +Indentation +----------- +Code must be indented using four spaces. +In vim, this can be accomplished using + + set shiftwidth=4 + set expandtab + +Naming +------ + +global variables should be `$UPPERCASE`. + +local variables should be `$lowercase`, best if it can be written without underscores. +If you feel the need to name a variable `$longdescriptionofwhatthisisusefulfor`, +then you're allowed to use underscores. But do you really need? + +functions should be lowercase+underscores: `do_this()`