Tabs -vs- Spaces: Tabs should have won.
bahamutzero8825 at gmail.com
Sun Jul 17 09:52:05 CEST 2011
-----BEGIN PGP SIGNED MESSAGE-----
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/
-----END PGP SIGNATURE-----
More information about the Python-list