Re: The “does Python have variables?” debate

Chris Angelico rosuav at gmail.com
Thu May 8 12:10:47 EDT 2014


On Fri, May 9, 2014 at 2:04 AM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> Personally, I think that trying to be general and talk about "many other
> languages" is a failing strategy. Better to be concrete: C, Pascal,
> Algol, Fortran, VB (I think) are good examples of the "value in a box at
> a fixed location" model. Of those, Algol, Pascal and Fortran are either
> obsolete or legacy, and C is by far the most well-known by people here.
> (For some reason, few people seem to migrate from VB to Python.) Hence,
> "C-like".

Agreed. So long as the statement is "Python doesn't have variables",
I'm going to have to disagree; but "Python doesn't have variables the
way C does" is definitely true, and probably as helpful as the shorter
version.

ChrisA



More information about the Python-list mailing list