[Bf-committers] (re) proposal for pep8 for blender scripts

Charles Wardlaw cwardlaw at marchentertainment.com
Thu Oct 29 16:11:07 CET 2009


+1 on four spaces
+1 on 80 characters per line.

Some of us still use Emacs for heavy code editing inside a tiny  
terminal window, even on 24" monitors. :)

~ C

On 2009-10-29, at 8:53 AM, Roger Wickes <rogerwickes at yahoo.com> wrote:

>  I recently wrote a render system for a major gaming company in  
> Python, so I guess I count myself as a Python developer, although  
> Python is soooo big now when you count all the APIs and capability,  
> so I am always learning.
>
> +1 with what Campbell said, naturally, however one slight  
> disagreement...another reason for the 80-width is a) side-by-side  
> comparisons and editing, and b) I find it annoying to have to scroll  
> to read a line that trails off. So, with all due respect, I dont  
> think it's fair to assume that people dont use notebooks and normal  
> width windows to code it; therefore I ask that we use the 80-width  
> rule. Eclipse and Idle are easy to set and use. ++1 on the 4 char  
> space as a standard. the 8 is really annoying, and again, Idle is  
> easy to set to use 4 spaces.
>
>
> Another factor in what is now viewed as bad code style is adopting  
> modern o-o programming methods; self calls and eliminating global  
> variables, camelCase, etc.
>
> with regard to Blender 2.50 Python, I am awaiting several things: 1)  
> time to relearn the API, 2) figuring out a way to learn the new API,  
> 3) a stable API to relearn, 4) a robust API to rewrite my code  
> into.----------------
> Sent by Roger Wickes for intended recipient. If you are not the  
> intended recipient, please delete this message and contact Mr.  
> Wickes immediately.
>
>
>
>
> ________________________________
> From: Campbell Barton <ideasman42 at gmail.com>
> To: bf-blender developers <bf-committers at blender.org>
> Sent: Thu, October 29, 2009 9:53:59 AM
> Subject: [Bf-committers] (re) proposal for pep8 for blender scripts
>
> While at BConf I met with Stani (SPE, Phatch author) and Theo (PySlate
> author), One thing that came up was how we don't have (any?) python
> developers,
>
>
>
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers


More information about the Bf-committers mailing list