Style guide / coding standards

Paul,

Paul Scott wrote:

Is there a style guide or a coding standards doc somewhere that I can
take a look at? I am *really* starting to enjoy wxPython code, and would
like to make my code as readable/re-usable as possible (I have never
written a proprietary line of code in my life).

This is specifically for applications written with wxPython, not the
actual core stuff (in which I have very little interest in contributing
to yet).

Does such a beast exist?
  

Maybe this?
http://wiki.wxpython.org/wxPython%20Style%20Guide

···

--Paul

  ------------------------------------------------------------------------

All Email originating from UWC is covered by disclaimer Home | UWC
  ------------------------------------------------------------------------

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

Yeah, thanks! I have read through that wiki entry beforehand, but was
looking at something more specific, especially with regards to variable
names, case, class name conventions etc.

So like:

class camelCase :

or class SomethingElse :

or class lowercase :

etc.

Also, indentation, I am using 4 spaces consistently, is this generally
accepted? (remember that I am a PHP coder, so my PHP style guidelines
are very strict, else you get a dog's breakfast in large projects!)

Should variables be called:

variable or Variable or VARIABLE (gasp)?

use of constants and globals - generally ugly or OK?

That type of thing....

--Paul

···

On Mon, 2008-05-12 at 11:02 +0200, Werner F. Bruhin wrote:

>
> Does such a beast exist?
>
Maybe this?
wxPython Style Guide - wxPyWiki
> --Paul