Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #20794

Re: Please verify!!

Date 2012-02-24 03:18 -0600
From Andrew Berg <bahamutzero8825@gmail.com>
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> <87mx88tyvc.fsf@benfinney.id.au>
Newsgroups comp.lang.python
Message-ID <mailman.117.1330075122.3037.python-list@python.org> (permalink)

Show all headers | View raw


On 2/24/2012 2:32 AM, Ben Finney wrote:
> 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?
The former. Opinion doesn't necessarily come with experience - habit
will usually override any minor reason to change. My point is that one
should have an opinion on it, not just be told which is better. I should
clarify that I mean that in a general sense as well, since it may have
come across as a bit of an overreaction.

> 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.
If by that, you mean that using spaces is better because it's what the
majority of programmers use, and it makes things much smoother when
working with others, then I agree. When working in a team, it's
definitely not something to argue over.

> 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.
A valid point. I think one should have an opinion, but I can see why one
would avoid the issue.

-- 
CPython 3.2.2 | Windows NT 6.1.7601.17640

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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