Re: encapsulating a global variable (BlindAnagram)

2020-02-26 Thread Grant Edwards
On 2020-02-26, Chris Angelico wrote: > On Thu, Feb 27, 2020 at 9:45 AM Grant Edwards > wrote: >> >> On 2020-02-25, Dennis Lee Bieber wrote: >> >> > We seem to have some confusion with the use of the word "static"... >> >> No doubt carrying on the tradition from C, where the 'static' keyword >>

Re: encapsulating a global variable (BlindAnagram)

2020-02-26 Thread Chris Angelico
On Thu, Feb 27, 2020 at 9:45 AM Grant Edwards wrote: > > On 2020-02-25, Dennis Lee Bieber wrote: > > > We seem to have some confusion with the use of the word "static"... > > No doubt carrying on the tradition from C, where the 'static' keyword > is used to mean two completely different, orthogon

Re: encapsulating a global variable (BlindAnagram)

2020-02-26 Thread Grant Edwards
On 2020-02-25, Dennis Lee Bieber wrote: > We seem to have some confusion with the use of the word "static"... No doubt carrying on the tradition from C, where the 'static' keyword is used to mean two completely different, orthogonal things. -- Grant Edwards grant.b.edwards

Re: encapsulating a global variable (BlindAnagram)

2020-02-25 Thread BlindAnagram
On 25/02/2020 17:16, Christman, Roger Graydon wrote: >> On Tue, 25 Feb 2020 3:06 PM BlindAnagram wrote: > >> My interest in this stems from wanting to keep the dictionary only >> available to the function that uses it and also a worry about being >> called from threaded code. > > It seems like t

Re: encapsulating a global variable (BlindAnagram)

2020-02-25 Thread Christman, Roger Graydon
> On Tue, 25 Feb 2020 3:06 PM BlindAnagram wrote: > My interest in this stems from wanting to keep the dictionary only > available to the function that uses it and also a worry about being > called from threaded code. It seems like the simplest solution for this is to make a completely new file