Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81882

Re: Python handles globals badly.

Date 2014-12-03 21:11 -0700
From Michael Torrie <torriem@gmail.com>
Subject Re: Python handles globals badly.
References (1 earlier) <mailman.16509.1417576416.18130.python-list@python.org> <b257d$547e9225$5419aafe$17940@news.ziggo.nl> <8hIfw.85083$c94.38058@fx21.am4> <aafa1a26-ef0b-43b0-96bc-ed71de666423@googlegroups.com> <kimv7alldeblo1u4j1fjqove30kfcafrpr@4ax.com>
Newsgroups comp.lang.python
Message-ID <mailman.16547.1417666306.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 12/03/2014 08:57 PM, Dennis Lee Bieber wrote:
> On Wed, 3 Dec 2014 10:16:18 -0800 (PST), sohcahtoa82@gmail.com declaimed
> the following:
> 
> 
>>
>> I'm surprised other people haven't picked up on how obvious of a troll this "Skybuck Flying" guy is.  He claims 20 years programming experience, then uses an absurd amount of globals, many of which are related, without using a data structure of some kind.
>>
> 	My initial impression is of 20 years of Kemeny&Kurtz BASIC... Of the
> 70s... with everything global.

BASIC was slow in changing, that's for sure.  I have used BASIC a lot
over the years, and it's been highly structured with modern scoping
rules since about the mid 80s.  Certainly Borland's Turbo BASIC provided
real functions and subroutines, private variables, block structures,
etc.  Sadly BASIC dialects tended to try to maintain backwards
compatibility so even modern dialects like FreeBASIC can be coerced into
executing spaghetti code.  Sad that the OP is stuck in this style of
programming.  Whatever works for him. Maybe instead of Python he should
use FreeBASIC with the -lang qb flag.  Actually, more appropriate might
be PC Basic [1] which is a GW BASIC clone actually written in Python.
Nothing better than executing spaghetti code in an interpreter written
in an interpreted language! Python indeed must be powerful indeed.

[1] http://sourceforge.net/projects/pcbasic

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Python handles globals badly. "Skybuck Flying" <skybuck2000@hotmail.com> - 2014-12-03 03:27 +0100
  Re: Python handles globals badly. Chris Angelico <rosuav@gmail.com> - 2014-12-03 13:35 +1100
  RE: Python handles globals badly. "Clayton Kirkwood" <crk@godblessthe.us> - 2014-12-02 18:53 -0800
  Re: Python handles globals badly. Michael Torrie <torriem@gmail.com> - 2014-12-02 20:13 -0700
    Re: Python handles globals badly. "Skybuck Flying" <skybuck2000@hotmail.com> - 2014-12-03 05:32 +0100
      Re: Python handles globals badly. Chris Angelico <rosuav@gmail.com> - 2014-12-03 15:42 +1100
      Re: Python handles globals badly. Dave Angel <davea@davea.name> - 2014-12-03 00:02 -0500
      Re: Python handles globals badly. Michael Torrie <torriem@gmail.com> - 2014-12-02 22:23 -0700
        Re: Python handles globals badly. Marko Rauhamaa <marko@pacujo.net> - 2014-12-03 08:52 +0200
          Re: Python handles globals badly. Joel Goldstick <joel.goldstick@gmail.com> - 2014-12-03 02:17 -0500
      Re: Python handles globals badly. Joshua Landau <joshua@landau.ws> - 2014-12-03 13:07 +0000
      Re: Python handles globals badly. mm0fmf <none@mailinator.com> - 2014-12-03 18:04 +0000
        Re: Python handles globals badly. sohcahtoa82@gmail.com - 2014-12-03 10:16 -0800
          Re: Python handles globals badly. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-12-04 11:57 +1100
            Re: Python handles globals badly. Chris Angelico <rosuav@gmail.com> - 2014-12-04 12:10 +1100
            Re: Python handles globals badly. Joel Goldstick <joel.goldstick@gmail.com> - 2014-12-03 20:23 -0500
          Re: Python handles globals badly. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-12-03 22:57 -0500
          Re: Python handles globals badly. Michael Torrie <torriem@gmail.com> - 2014-12-03 21:11 -0700
  Re: Python handles globals badly. Ben Finney <ben+python@benfinney.id.au> - 2014-12-03 14:21 +1100
  Re: Python handles globals badly. "Skybuck Flying" <skybuck2000@hotmail.com> - 2014-12-03 05:17 +0100
    Re: Python handles globals badly. Chris Angelico <rosuav@gmail.com> - 2014-12-03 15:36 +1100
    Re: Python handles globals badly. Tony the Tiger <tony@tiger.invalid> - 2014-12-04 20:27 +0000
  Re: Python handles globals badly. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-12-03 12:35 +0000
    Re: Python handles globals badly. "Skybuck Flying" <skybuck2000@hotmail.com> - 2014-12-04 00:02 +0100
      Re: Python handles globals badly. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-12-04 01:32 +0000
      Re: Python handles globals badly. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-12-03 23:01 -0500
      Re: Python handles globals badly. jtan <admin@grails.asia> - 2014-12-04 13:03 +0800
        Re: Python handles globals badly. Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-12-04 22:35 +1100
          Re: Python handles globals badly. jtan <admin@grails.asia> - 2014-12-04 22:38 +0800
      Re: Python handles globals badly. Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-12-04 10:24 +0000
      Re: Python handles globals badly. Chris Angelico <rosuav@gmail.com> - 2014-12-04 21:29 +1100
        Re: Python handles globals badly. Marko Rauhamaa <marko@pacujo.net> - 2014-12-04 14:51 +0200
          Re: Python handles globals badly. Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-12-04 20:56 -0500
          Re: Python handles globals badly. William Ray Wing <wrw@mac.com> - 2014-12-04 23:17 -0500
      Re: Python handles globals badly. alister <alister.nospam.ware@ntlworld.com> - 2014-12-04 19:54 +0000
  Re: Python handles globals badly. Peter Pearson <pkpearson@nowhere.invalid> - 2014-12-03 20:31 +0000

csiph-web