From: "Shot (Piotr Szotkowski)" Date: 2009-05-21T05:24:50+09:00 Subject: Re: Pythonic indentation (or: beating a dead horse) --mxv5cy4qt+RJ9ypb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable J Haas: > A lot of engineers who haven't done work in Python think that the idea=20 > of giving syntactical significance to whitespace is a ridiculous idea.=20 > I used to be one of them. Now I know better. Don't knock it until=20 > you've tried it. I=E2=80=99m one of the idealists who actually loved Python=E2=80=99s idea o= f=20 indentation, meaningful whitespace and the least possible clutter (to the point that I actually preferred tabs to spaces =E2=80=93 that=E2=80= =99s the=20 whole point of a tab, to *indent*), and I did write quite a few lines of Python in my life =E2=80=93 and after all that, I=E2=80=99m now strongly= in the =E2=80=98no significant whitespace=E2=80=99 camp. I might miss my idealism, but the practical advantages of non-significant whitespace win for me on all fronts: I can actually use code snippets without reindenting them, badly-indented code tells me outright that I shoudn=E2=80=99t even bother reading it, and I can do all kinds of commenting-out/debug print calls really fast. > Aside from the fact that this wouldn't solve the problem > that I'd still have to _write_ the damned things If you have to write the =E2=80=98end=E2=80=99 statements yourself (and it = bothers you),=20 then you either don=E2=80=99t use a sane editor or didn=E2=80=99t configure= it properly. =E2=80=94 Shot --=20 A causal stroll throught lunatic asylum shows that faith does not prove anything. --mxv5cy4qt+RJ9ypb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkoUZw0ACgkQi/mCfdEo8UobjACffTXwMCBtmYoYzUE0QTAkD+sL M68AniiN1x2lABnBt36qP3r+GeY3XfWf =sCnQ -----END PGP SIGNATURE----- --mxv5cy4qt+RJ9ypb--