[Kde-windows] Pythons source code styling

Jarosław Staniek js at iidea.pl
Wed Oct 12 10:44:56 CEST 2005


Ralf Habacker said the following, On 2005-10-12 10:40:

 > I recognized some different indention type in the python source
 > and like to discuss a commen style.
 >
 > Mostly files are indented with tabs, so can we make this  the standard ?

That would be good

PS: what about this convention to improve readbability:

if foo:
  bar

INSTEAD OF:

if foo: bar


REASONING: look how ugly is the following:

if foo1:
   if foo2: bar
else: bar2

-- 
regards / pozdrawiam,
  Jaroslaw Staniek / OpenOffice Polska
  Kexi Developer:
      http://www.kexi-project.org | http://koffice.org/kexi
  KDE3, KDE4 libraries for developing MS Windows applications:
      http://wiki.kde.org/tiki-index.php?page=KDElibs+for+win32



More information about the Kde-windows mailing list