Tabs -vs- Spaces: Tabs should have won.

Andrew Berg bahamutzero8825 at gmail.com
Sun Jul 17 03:52:05 EDT 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

On 2011.07.17 02:32 AM, Ian Kelly wrote:
> Of course, there is also another major problem with tabs that I have 
> not seen pointed out yet, which is that it's not possible to
> strictly adhere to 80-column lines with tabs.  I can write my code to
> 80 columns using 4-space tabs, but if somebody later tries to edit
> the file using 8-space tabs, their lines will be too long.
Setting an editor to read a tab as 8 spaces is just plain silly if your
display is limited to 80 characters/line. Inserting 8 spaces as one
indent is also a bit silly, but if you're going to do it, it's your
responsibility to make sure the line is still less than 80 characters.

- -- 
CPython 3.2.1 | Windows NT 6.1.7601.17592 | Thunderbird 5.0
PGP/GPG Public Key ID: 0xF88E034060A78FCB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAwAGBQJOIpSlAAoJEPiOA0Bgp4/L7JwH/3zysmIUDPyy6f4X7oKAFye0
YcjgC5vM5gHQ4HGemGrIGBuurYffcC1XL3Cf7V5y4Rf6F+XwueLN1C4YEl8r1dtw
r+E6pVsFM4e5keLoWb4s+IeBu0HV6GqHyXkEmj8kV8QG9dZJbWML42+AwGauXdO/
IUne0zp1ojHbAY5lDVJnRako3hMyXuxJjpERZXXh/Qe+z9GyaQ4/AHrVFsYyWS3A
ZE9L7y/Yv/Bba9DjYLs1sgFDGVF996yQFAnhPw52cmlahh3/1vbpV+CPQhIeVVH8
PqObrFw9cdAMoo/kVoPRmcNBU+Xf9tlTDUS5w6bn7WjrYdnd28VesZ03uaapWx8=
=tWjf
-----END PGP SIGNATURE-----



More information about the Python-list mailing list