gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] Coding style


From: Benjamin Wolsey
Subject: [Gnash-dev] Coding style
Date: Thu, 16 Jul 2009 08:47:27 +0200

There is a set of coding style guidelines at
http://wiki.gnashdev.org/CodingStyle that should generally be followed.
The easiest and most important parts are:

1. Use four-space indents, not tabs.

2. Limit line length to 80 characters.

3. Fix compiler warnings before committing anything.

The last one is particularly important. There were hundreds of warnings
for unused variables in the AS3 class stubs for a long time, which
didn't set a good example and made it hard to see new ones. These were
finally fixed yesterday, so please make sure new code creates no new
warnings.

bwy

--
Use Gnash, the GNU Flash Player!
http://www.gnu.org/software/gnash/

Benjamin Wolsey, Software Developer - http://benjaminwolsey.de

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


reply via email to

[Prev in Thread] Current Thread [Next in Thread]