[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Declaring variables in function as if at code's line-level



That is not true, Chris.

On 3/10/12, Christopher Arndt <chris@xxxxxxxxxxxxx> wrote:
> On 10.03.2012 23:35, Christopher Night wrote:
>>     DO:
>>     * Access variables.
>>       (Move game according to current-variable-status and player-input)
>>
>>     * Output to graphics and sound card.
>>       (Display game according to current-variable-status.)
>>     LOOP
>>
>>     That's really all we need.
>
> Who's this "we"? Certainly doesn't include me, because I need *a lot*
> more from a programming language.
>
> Brian, I think you should read a bit about namespaces and why they are a
> good thing. You won't get very far with Python with your point of view -
> or in any other programming language for that matter (except maybe PHP -
> just kidding ;) ).
>
>
> Chris
>