if statement

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Mon Jun 28 22:42:56 CEST 2004

Andrea Griffini wrote:
> On Mon, 28 Jun 2004 22:59:30 +1000, "Ajay Brar"
> <abra9823 at mail.usyd.edu.au> wrote:
>>its the first time i amusing python and coming from a {} environment, tabs
>>is a little hard to get used to.
> I come from {} too, but found moving to indentation really
> a no problem except that one of the python editors I tried
> messed up my code badly, probably because it was written
> with a two space indent instead of the common 4.
> I abandoned tabs long ago: when it was standard (8) there
> could be some use for the tab char, now it's just another
> way to add *completely pointless* confusion.
> Anyway I forced myself to change to 4 space indent (even
> if indeed seems to me a bit too much), and I abandoned
> fancy editors so I'm back to the trustable VIM :-) ... it
> may go eventually wrong when guessing the indent for next
> line; but it will never ever dare to mess up my code.
> Actually my problem is that now I sometimes forget ";"
> when working in C++ :-)

The good thing about Python is that the semicolon an experienced C
programmer mindlessly inserts does not produce an error ;)


Wenn eine Linuxdistribution so wenig brauchbare Software wie Windows
mitbrächte, wäre das bedauerlich.  Was bei Windows der Umfang eines
"kompletten Betriebssystems" ist, nennt man bei Linux eine Rescuedisk.
  -- David Kastrup in de.comp.os.unix.linux.misc

More information about the Python-list mailing list