Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95955
| References | <c3363$547e74fe$5419aafe$24179@news.ziggo.nl> <3bbeafa4-d756-46f8-9750-2fca29617cf4@googlegroups.com> |
|---|---|
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | 2015-09-03 10:15 -0600 |
| Subject | Re: Python handles globals badly. |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.82.1441296971.8327.python-list@python.org> (permalink) |
On Thu, Sep 3, 2015 at 7:22 AM, <tdev@freenet.de> wrote: > I think this has lead to some confusing. I don't think so. > First topic: > "sharing globals between modules" > Where globals is meant as vars used throughout the app. > > This is the topic why Skybuck starts the thread. > And yes I agree globals can be bad design > and it is solved via outsourcing to an extra module and used via imports. > > I misinterpreted this topic a little by thinking > the focus is more about the use of the badly "global" keyword > (in my point of view) and added therefore my post here as The only person whom I see talking about this in this thread is you disclaiming that you're not talking about it. (And I guess Skybuck is talking about it, but I don't see those.) > Said that, I will not respond to comments about sharing globals > Said that, I will not respond to comments about using OO or about comparisons made with other languages. I don't know what comments about using OO you're referring to either. I only see one suggestion to use classes, and you've already responded to that. As far as comparisons to other languages, you're the one who brought up the comparison to Java in the first place. You seem to be spending a lot of time talking about what you won't talk about, and very little time talking about your proposal, such as by what magic you expect the compiler to distinguish globals from locals without declarations.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Python handles globals badly. tdev@freenet.de - 2015-09-03 06:22 -0700
Re: Python handles globals badly. Chris Angelico <rosuav@gmail.com> - 2015-09-04 00:03 +1000
Re: Python handles globals badly. Michael Torrie <torriem@gmail.com> - 2015-09-03 09:50 -0600
Re: Python handles globals badly. Ian Kelly <ian.g.kelly@gmail.com> - 2015-09-03 10:15 -0600
Re: Python handles globals badly. Michael Torrie <torriem@gmail.com> - 2015-09-03 10:43 -0600
Re: Python handles globals badly. Steven D'Aprano <steve@pearwood.info> - 2015-09-04 12:05 +1000
Re: Python handles globals badly. pepekbabi5@gmail.com - 2015-09-06 15:35 -0700
Re: Python handles globals badly. MRAB <python@mrabarnett.plus.com> - 2015-09-03 19:29 +0100
Re: Python handles globals badly. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-09-03 18:41 -0400
csiph-web