Re: [Sunuml-developers] wxPython/wxWidgets help
Status: Planning
Brought to you by:
lazaruslong
From: Javier C. <ja...@ya...> - 2008-11-07 00:33:10
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> 4 spaces is the default for tab now. 8 spaces was the default before, it says that is for old code.<br> <br> I think we should use PEP8.<br> <br> Should we use mixed case function names instead of words sepparated by underscores?<br> <br> That's the only objection I have to that standard<br> <br> Steven Gay escribió: <blockquote cite="mid:ad8...@ma..." type="cite"><br> <br> <div class="gmail_quote"> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">For toolbox we can use FoldPanelBar class (comes with wxPython).</blockquote> <div><br> ok - it true that you can have two panel open at the same time. Which avoid the StarUML behavior of having to reopen all them all the time.<br> <br> <br> <br> </div> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Code style: I think we should follow wxPython style guide (<a moz-do-not-send="true" href="http://wiki.wxpython.org/wxPython%20Style%20Guide" target="_blank">http://wiki.wxpython.org/wxPython%20Style%20Guide</a>)<br> </blockquote> <br> Arghh... wxPython doesn't follow the Python guidelines but the wx style :(<br> <br> The Python patch styles guidelines: <a moz-do-not-send="true" href="http://www.python.org/dev/patches/style/">http://www.python.org/dev/patches/style/</a><br> <br> </div> <div style="margin-left: 40px;"><i>A tab character should <em>always</em> be equivalent to 8 spaces, not 4 as is the default in most editors on Mac and Windows.) <strong style="font-weight: normal;">Make sure all lines fit in 78 columns.</strong> When submitting C code, don't use C++ style (//) comments. Write function and method calls like this; <b>foo(arg1, arg2);</b><br> </i></div> <br> <a moz-do-not-send="true" href="http://www.python.org/dev/peps/pep-0257/">http://www.python.org/dev/peps/pep-0257/</a><br> <a moz-do-not-send="true" href="http://www.python.org/dev/peps/">http://www.python.org/dev/peps/</a><br> <a moz-do-not-send="true" href="http://www.python.org/dev/peps/pep-0008/">http://www.python.org/dev/peps/pep-0008/</a><i><br> </i><br> Should we follow wxPython or Python ?<br> <br> IMO Python as it is the <b>language</b> we choice but I will follow the majority... :/<br> <br> Regards,<br> Steven<br> <pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world <a class="moz-txt-link-freetext" href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a></pre> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ Sunuml-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Sun...@li...">Sun...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/sunuml-developers">https://lists.sourceforge.net/lists/listinfo/sunuml-developers</a> </pre> </blockquote> </body> </html> |