Are these good ideas?
Dan Stromberg
drsalists at gmail.com
Mon Nov 14 23:36:47 EST 2022
On Mon, Nov 14, 2022 at 11:33 AM Axy via Python-list <python-list at python.org>
wrote:
> On 14/11/2022 17:14, Stephen Tucker wrote:
> > Hi,
> >
> > I have two related issues I'd like comments on.
> >
> > Issue 1 - Global Values
>
> Your "global variables" module acts exactly as a singleton class.
>
Which is apparently a design pattern that some now believe is regrettable.
It's something I've done before too, but it's pretty much shared, mutable
state, which isn't great for functional programming or for parallelism.
More information about the Python-list
mailing list