[Bf-committers] (re) proposal for pep8 for blender scripts
Daniel Genrich
daniel.genrich at gmx.net
Fri Oct 30 00:20:01 CET 2009
Hey all,
I cannot help to join this.
-1 --> No 80-length-limit per line. I mean - we're the devs who actually
use diff, and code and script and know that this limitation came from an
ancient view screen limitation.
-1 --> tabs. No spaces please. Basicly I agree with Joshua on this one.
Greetings,
daniel
Thomas Dinges schrieb:
> Hi,
> I agree with Brecht here, splitting up ui code is a bad idea. As someone
> who wrote most of the ui scripts, i vote for no maximum line length for
> ui scripts inside scripts/ui.
>
> But apart from that i also see the need to adapt pep008 for Blender
> scripts. Will be only difficult in the beginning, because it's not
> really a small document. :P
>
> So basically +1, but no character length limit in ui scripts please!
>
> cheers,
> Thomas
>
>
> Brecht Van Lommel wrote:
>
>> Hi,
>>
>> I agree on following PEP8. My personal preference is to go over 80
>> characters in some cases since I think it can help readability.
>> There's many cases in the UI layout where the code for one button
>> takes up 80-100 characters, splitting that up makes things less
>> readable for me.
>>
>>
>
> _______________________________________________
> 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