Variables

2005-04-23 Thread Richard Blackwood
To All: Folks, I need your help. I have a friend who claims that if I write: foo = 5 then foo is NOT a variable, necessarily. If you guys can define for me what a variable is and what qualifications you have to back you, I can pass this along to, hopefully, convince him that foo is indeed a va

Re: Variables

2005-04-23 Thread Richard Blackwood
call last): File "", line 1, in ? NameError: name 'foo' is not defined On Saturday 23 April 2005 07:20 pm, so sayeth Richard Blackwood: To All: Folks, I need your help. I have a friend who claims that if I write: foo = 5 then foo is NOT a variable, necessarily. If you guys can

Re: Variables

2005-04-23 Thread Richard Blackwood
Robert Kern wrote: Richard Blackwood wrote: To All: Folks, I need your help. I have a friend who claims that if I write: foo = 5 then foo is NOT a variable, necessarily. If you guys can define for me what a variable is and what qualifications you have to back you, I can pass this along to

Re: Variables

2005-04-23 Thread Richard Blackwood
Steven Bethard wrote: Richard Blackwood wrote: Indeed, this language is math. My friend says that foo is a constant and necessarily not a variable. If I had written foo = raw_input(), he would say that foo is a variable. Then what does he say if you write: foo = 5 foo = 6 ? STeVe He says that

Re: Variables

2005-04-23 Thread Richard Blackwood
Kent Johnson wrote: Richard Blackwood wrote: To All: Folks, I need your help. I have a friend who claims that if I write: foo = 5 then foo is NOT a variable, necessarily. Indeed, this language is math. My friend says that foo is a constant and necessarily not a variable. Well, we mostly

Re: Variables

2005-04-23 Thread Richard Blackwood
Robert Kern wrote: Richard Blackwood wrote: Kent Johnson wrote: Richard Blackwood wrote: To All: Folks, I need your help. I have a friend who claims that if I write: foo = 5 then foo is NOT a variable, necessarily. Indeed, this language is math. My friend says that foo is a constant and

Re: Variables

2005-04-23 Thread Richard Blackwood
Mike Meyer wrote: Richard Blackwood <[EMAIL PROTECTED]> writes: Robert Kern wrote: Richard Blackwood wrote: To All: Folks, I need your help. I have a friend who claims that if I write: foo = 5 then foo is NOT a variable, necessarily. If you guys can define for me what a va

Re: Variables

2005-04-23 Thread Richard Blackwood
Dan Bishop wrote: Richard Blackwood wrote: Steven Bethard wrote: Richard Blackwood wrote: Indeed, this language is math. My friend says that foo is a constant and necessarily not a variable. If I had written foo = raw_input(), he would say that foo is a

Re: Variables

2005-04-23 Thread Richard Blackwood
Terry Reedy wrote: "Richard Blackwood" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Indeed, this language is math. In mathematics, the word 'variable' is generally an undefined meta-term that is *notorious* for having multiple possible meanings an

Re: Variables

2005-04-23 Thread Richard Blackwood
Bengt Richter wrote: On Sat, 23 Apr 2005 22:45:14 -0400, Richard Blackwood <[EMAIL PROTECTED]> wrote: Robert Kern wrote: Richard Blackwood wrote: To All: Folks, I need your help. I have a friend who claims that if I write: foo = 5 then foo is NOT a variable, necessarily.

Re: Variables

2005-04-23 Thread Richard Blackwood
Robert Kern wrote: Richard Blackwood wrote: Robert Kern wrote: If you must, http://en.wikipedia.org/wiki/Variable Fantastic, wikipedia deals precisely with the difference between variables in mathematics versus programming. However, he would never trust a definition from such an "unrepu

Re: Variables

2005-04-24 Thread Richard Blackwood
James Stroud wrote: On Saturday 23 April 2005 10:25 pm, so sayeth Richard Blackwood: Unfortunately that's not much of an option for me. We are working on a project together so I am forced to either prove his notion incorrect or I give in to his conception. *throws hands in air* This

Re: Variables

2005-04-24 Thread Richard Blackwood
I thought I'd share a piece of the discussion a friend of mine is having with a mathematician/programmer on this issue of variables: int foo = 5; Is foo not a variable? Within the scope of that statement, foo can be no other value but 5. Is foo not a constant? Are constants and variables not mu

Simulation Programming Skills and Python

2006-03-06 Thread Richard Blackwood
code an inherent/native skill of all programmers? Two, is Python a good language for simulation programming? Thank you all! - Richard Blackwood -- http://mail.python.org/mailman/listinfo/python-list

Re: Simulation Programming Skills and Python

2006-03-06 Thread Richard Blackwood
Okay, I really like that analogy. Not everything a carpenter can do requires an architect to draw up a blueprint though. For example, if I tell a carpenter I want a tree house with built-in seating and a window in the roof, no other requirements, can't they figure out how to do that on their own? S

Re: Simulation Programming Skills and Python

2006-03-06 Thread Richard Blackwood
So I can't develop and code the model simultaneously if I'm relying on the programming skill of someone who doesn't understand what I'm modelling? Also, say I (the hypothetical expert of knowledge domain X) learn programming, an I necessarily going to know how to model X with programming? When you