Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82103 > unrolled thread
| Started by | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| First post | 2014-12-08 15:52 +1100 |
| Last post | 2014-12-08 00:18 -0800 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Maintaining Maximum Line Length When Using Tabs Instead of Spaces? Ben Finney <ben+python@benfinney.id.au> - 2014-12-08 15:52 +1100
Re: Maintaining Maximum Line Length When Using Tabs Instead of Spaces? wxjmfauth@gmail.com - 2014-12-08 00:18 -0800
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Date | 2014-12-08 15:52 +1100 |
| Subject | Re: Maintaining Maximum Line Length When Using Tabs Instead of Spaces? |
| Message-ID | <mailman.16706.1418014504.18130.python-list@python.org> |
Aahan Krish <krish@aahan.me> writes: > It's just that I don't like arbitrary rules. IMHO, spaces aren't > "better than" tabs, and people should refrain from saying that. Simplicity has value. The rule “use four spaces for indentation” is simple to stick to, and simple to obtain sane display results by default. Using U+0009 characters for indentation is objectively more complex, because of the addition of all the special treatment of U+0009 characters, and especially the admonitions needed to readers not to use the attractive editor features of customising U+0009 rendering. So, you may decide the simplicity is less valuable than the ability to change the rendering of this special U+0009 character. But, if one values that simplicity, then U+0020 characters *are* better than U+0009 characters for indentation. So, no, I will not refrain from saying that. -- \ “You can be a victor without having victims.” —Harriet Woods, | `\ 1927–2007 | _o__) | Ben Finney
[toc] | [next] | [standalone]
| From | wxjmfauth@gmail.com |
|---|---|
| Date | 2014-12-08 00:18 -0800 |
| Message-ID | <4eb481d6-d53f-4ddd-9119-f3c0edec5656@googlegroups.com> |
| In reply to | #82103 |
Le lundi 8 décembre 2014 05:55:54 UTC+1, Ben Finney a écrit : > Aahan Krish <krish@aahan.me> writes: > > > It's just that I don't like arbitrary rules. IMHO, spaces aren't > > "better than" tabs, and people should refrain from saying that. > > Simplicity has value. > > The rule "use four spaces for indentation" is simple to stick to, and > simple to obtain sane display results by default. > > Using U+0009 characters for indentation is objectively more complex, > because of the addition of all the special treatment of U+0009 > characters, and especially the admonitions needed to readers not to use > the attractive editor features of customising U+0009 rendering. > > So, you may decide the simplicity is less valuable than the ability to > change the rendering of this special U+0009 character. But, if one > values that simplicity, then U+0020 characters *are* better than U+0009 > characters for indentation. > > So, no, I will not refrain from saying that. You are commenting. I'm pretty sure you never wrote an editor or an interactive interpreter. jmf
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web