Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #20789
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Please verify!! |
| References | <724ccbd6-30d1-41bd-bf38-2a5ce82953a1@x19g2000yqh.googlegroups.com> <4F46C124.2070102@davea.name> <mailman.106.1330055156.3037.python-list@python.org> |
| Date | 2012-02-24 19:32 +1100 |
| Message-ID | <87mx88tyvc.fsf@benfinney.id.au> (permalink) |
| Organization | Unlimited download news at news.astraweb.com |
Andrew Berg <bahamutzero8825@gmail.com> writes: > On 2/23/2012 4:43 PM, Dave Angel wrote: > > First thing I'd do is to disable tab logic in the editor. When you > > press the tab key, there's no excuse for an editor to actually put a tab > > in the file. It should adjust the column by adding the appropriate > > number of spaces. > Unless, of course, you know, you actually /want/ to use tabs (the > horror!). The decision whether to use tabs or spaces shouldn't be made > for the novice programmer. Those two positions yo describe are in conflict. Are you referring to novice programmers – who, by any reasonable definition of “novice”, don't have an opinion on the tabs-versus-spaces indentation debate? Or are you talking about people who are experienced enough to have an opinion and expect their editor to allow them the choice? > I recommend using UTF-8 always unless there's some reason not to. Likewise, I recommend using spaces for indentation always, unless there's some reason not to. The reason is the same: spaces for indentation and UTF-8 for encoding will both allow them the best chance of ignoring the issue as irrelevant, by enabling the smoothest collaboration with the vast majority of other programmers who have to work with them. And in both those issues, I think it's ludicrous to expect the novice programmer to care enough about the matter to have an opinion and select a configuration option. The editor authors should choose the best option for them as a default, and let most users sail on, happily ignorant of the flame wars they have avoided. -- \ “In the long run nothing can withstand reason and experience, | `\ and the contradiction which religion offers to both is all too | _o__) palpable.” —Sigmund Freud | Ben Finney
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Please verify!! Manish Sharma <manish2aug@gmail.com> - 2012-02-23 14:13 -0800
Re: Please verify!! Ben <bungiman@gmail.com> - 2012-02-23 14:29 -0800
Re: Please verify!! Dave Angel <d@davea.name> - 2012-02-23 17:43 -0500
Re: Please verify!! Joshua Miller <milleja46@gmail.com> - 2012-02-23 20:57 -0500
Re: Please verify!! Andrew Berg <bahamutzero8825@gmail.com> - 2012-02-23 21:45 -0600
Re: Please verify!! Ben Finney <ben+python@benfinney.id.au> - 2012-02-24 19:32 +1100
Re: Please verify!! Andrew Berg <bahamutzero8825@gmail.com> - 2012-02-24 03:18 -0600
Re: Please verify!! Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-24 12:20 +0000
Re: Please verify!! Andrew Berg <bahamutzero8825@gmail.com> - 2012-02-24 07:20 -0600
Re: Please verify!! Chris Angelico <rosuav@gmail.com> - 2012-02-25 07:41 +1100
Re: Please verify!! Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-02-25 00:49 +0000
Re: Please verify!! Chris Angelico <rosuav@gmail.com> - 2012-02-25 12:25 +1100
Re: Please verify!! Dave Angel <d@davea.name> - 2012-02-24 21:36 -0500
Re: Please verify!! Duncan Booth <duncan.booth@invalid.invalid> - 2012-02-24 11:21 +0000
Re: Please verify!! Andrew Berg <bahamutzero8825@gmail.com> - 2012-02-24 05:36 -0600
Re: Please verify!! Andrew Berg <bahamutzero8825@gmail.com> - 2012-02-24 01:26 -0600
Re: Please verify!! Jugurtha Hadjar <jugurtha.hadjar@gmail.com> - 2012-02-24 12:10 +0100
csiph-web