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


Groups > comp.lang.python > #6693 > unrolled thread

Re: scope of function parameters (take two)

Started byDaniel Kluev <dan.kluev@gmail.com>
First post2011-05-31 12:48 +1100
Last post2011-05-31 15:20 +1000
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.


Contents

  Re: scope of function parameters (take two) Daniel Kluev <dan.kluev@gmail.com> - 2011-05-31 12:48 +1100
    Re: scope of function parameters (take two) Ben Finney <ben+python@benfinney.id.au> - 2011-05-31 15:20 +1000

#6693 — Re: scope of function parameters (take two)

FromDaniel Kluev <dan.kluev@gmail.com>
Date2011-05-31 12:48 +1100
SubjectRe: scope of function parameters (take two)
Message-ID<mailman.2288.1306806499.9059.python-list@python.org>
On Tue, May 31, 2011 at 12:30 PM, Terry Reedy <tjreedy@udel.edu> wrote:
> Again, go back and reread what I and other wrote. I believe that you are, in
> part, hypnotized by the work 'variable'. Can you define the word? There are
> 10 to 20 possible variations, and yours is probably wrong for Python.

On a sidenote, I wonder what is the reason to keep word 'variable' in
python documentation at all. I believe word 'name' represents concept
better, and those, who come from other languages, would be less likely
to associate wrong definitions with it.

-- 
With best regards,
Daniel Kluev

[toc] | [next] | [standalone]


#6703

FromBen Finney <ben+python@benfinney.id.au>
Date2011-05-31 15:20 +1000
Message-ID<871uzf8n03.fsf@benfinney.id.au>
In reply to#6693
Daniel Kluev <dan.kluev@gmail.com> writes:

> On a sidenote, I wonder what is the reason to keep word 'variable' in
> python documentation at all. I believe word 'name' represents concept
> better, and those, who come from other languages, would be less likely
> to associate wrong definitions with it.

I agree, but the term “variable” is used freely within the Python
development team to refer to Python's name-to-object bindings, and that
usage isn't likely to stop through our efforts.

So the burden is unfortunately on us to teach each newbie that this
often-used term means something other than what they might expect.

-- 
 \           “In case you haven't noticed, [the USA] are now almost as |
  `\     feared and hated all over the world as the Nazis were.” —Kurt |
_o__)                                                   Vonnegut, 2004 |
Ben Finney

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web