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


Groups > comp.lang.python > #81826

RE: Python handles globals badly.

Path csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <crk@godblessthe.us>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.024
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'python.': 0.02; 'skip:[ 20': 0.04; 'subject:Python': 0.06; 'variables': 0.07; 'skip:> 40': 0.09; 'python': 0.11; '"global"': 0.16; 'badly.': 0.16; 'email addr:python.org]': 0.16; 'globals': 0.16; 'skip:> 20': 0.16; 'skip:> 50': 0.16; 'message-----': 0.19; 'programming': 0.22; 'handles': 0.22; 'header:In-Reply-To:1': 0.27; 'url:mailman': 0.30; 'flying': 0.31; 'front': 0.32; 'url:python': 0.33; 'december': 0.35; 'skip:> 10': 0.36; 'url:listinfo': 0.36; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'email addr:python.org': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'how': 0.40; 'received:173': 0.61; "you're": 0.61; 'telling': 0.64; 'email name :python-list': 0.65; 'received:phx3.secureserver.net': 0.65; 'received:prod.phx3.secureserver.net': 0.65; 'experience.': 0.67; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; 'enjoy': 0.71; 'received:173.201': 0.91; 'youth': 0.91
From "Clayton Kirkwood" <crk@godblessthe.us>
To <python-list@python.org>
References <c3363$547e74fe$5419aafe$24179@news.ziggo.nl>
In-Reply-To <c3363$547e74fe$5419aafe$24179@news.ziggo.nl>
Subject RE: Python handles globals badly.
Date Tue, 2 Dec 2014 18:53:58 -0800
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding 7bit
X-Mailer Microsoft Office Outlook 12.0
Thread-Index AdAOoS2Fiz5SuFHkQ3CAXpENm9FwHQAAxQLQ
Content-Language en-us
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To crk@godblessthe.us
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16508.1417575259.18130.python-list@python.org> (permalink)
Lines 144
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1417575259 news.xs4all.nl 2910 [2001:888:2000:d::a6]:35799
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:81826

Show key headers only | View raw


You're still young, enjoy your youth while you can.

>-----Original Message-----
>From: Python-list [mailto:python-list-
>bounces+crk=godblessthe.us@python.org] On Behalf Of Skybuck Flying
>Sent: Tuesday, December 02, 2014 6:28 PM
>To: python-list@python.org
>Subject: Python handles globals badly.
>
>Excuse is: "bad programming style".
>
>I don't need snot telling me how to program after 20 years of
>programming experience.
>
>This is so far the only thing pissing me off in python.
>
>Now I have to declare "global" in front of these variables every where I
>want to use em:
>
>ShipAbilityDistributeShieldPower
>ShipAbilityTargetWeaponsSubsystems
>ShipAbilityTargetEnginesSubsystems
>ShipAbilityTargetShieldsSubsystems
>ShipAbilityTargetAuxiliarySubsystems
>
>CapTactAbilityAttackPatternAlpha
>CapTactAbilityFireOnMyMark
>CapTactAbilityTacticalInitiative
>CapTactAbilityGoDownFighting
>CapTactAbilityTacticalFleet
>
>
>CapEngAbilityRotateShieldFrequency
>CapEngAbilityEPSPowerTransfer
>CapEngAbilityNadionInversion
>CapEngAbilityMiracleWorker
>CapEngAbilityEngineeringFleet
>
>
>CapSciAbilitySensorScan
>CapSciAbilitySubnucleonicBeam
>CapSciAbilityScatteringField
>CapSciAbilityPhotonicFleet
>CapSciAbilityScienceFleet
>
>
>CapSharedAbilityEvasiveManeuvers
>CapSharedAbilityBraceForImpact
>CapSharedAbilityRammingSpeed
>CapSharedAbilityAbandonShip
>CapSharedAbilityFleetSupport
>
>BoffTactAbilityBeamArrayFireAtWill
>BoffTactAbilityBeamArrayOverload
>BoffTactAbilityTacticalTeam
>BoffTactAbilityTorpedoHighYield
>BoffTactAbilityTorpedoSpread
>BoffTactAbilityTargetWeaponsSubsystems
>BoffTactAbilityTargetEnginesSubsystems
>BoffTactAbilityTargetShieldsSubsystems
>BoffTactAbilityTargetAuxiliarySubsystems
>BoffTactAbilityAttackPatternBeta
>BoffTactAbilityAttackPatternDelta
>BoffTactAbilityCannonRapidFire
>BoffTactAbilityCannonScatterVolley
>BoffTactAbilityDispersalPatternAlpha
>BoffTactAbilityDispersalPatternBeta
>BoffTactAbilityAttackPatternOmega
>
>
>BoffEngAbilityEmergencyPowerToAuxiliary
>BoffEngAbilityEmergencyPowerToWeapons
>BoffEngAbilityEmergencyPowerToEngines
>BoffEngAbilityEmergencyPowerToShields
>BoffEngAbilityEngineeringTeam
>BoffEngAbilityAuxiliaryToBattery
>BoffEngAbilityAuxiliaryToDampeners
>BoffEngAbilityAuxiliaryToStructural
>BoffEngAbilityBoardingParty
>BoffEngAbilityDirectedEnergyModulation
>BoffEngAbilityExtendShields
>BoffEngAbilityReverseShieldPolarity
>BoffEngAbilityAcetonBeam
>BoffEngAbilityEjectWarpPlasma
>
>
>BoffSciAbilityHazardEmitters
>BoffSciAbilityJamSensors
>BoffSciAbilityMaskEnergySignature
>BoffSciAbilityPolarizeHull
>BoffSciAbilityScienceTeam
>BoffSciAbilityTachyonBeam
>BoffSciAbilityTractorBeam
>BoffSciAbilityTransferShieldStrength
>BoffSciAbilityChargedParticleBurst
>BoffSciAbilityEnergySiphon
>BoffSciAbilityFeedbackPulse
>BoffSciAbilityPhotonicOfficer
>BoffSciAbilityTractorBeamRepulsors
>BoffSciAbilityScrambleSensors
>BoffSciAbilityTykensRift
>BoffSciAbilityGravityWell
>BoffSciAbilityPhotonicShockwave
>BoffSciAbilityViralMatrix
>
>SpaceSetAbilityAssimilatedBorgTechnologyTractorBeam
>SpaceSetAbilityRomulanSingularityHarnessPlasmaHyperflux
>SpaceSetAbilityNukaraStrikeforceTechnologiesUnstableTetryonLattice
>
>UniConAbilityPhotonicShockwaveTorpedo
>UniConAbilityTholianWeb
>UniConAbilityBattleModule3000BattleMode
>UniConAbilityBattleModule3000SwarmMissiles
>UniConAbilitySubspaceRupture
>UniConAbilityTholianTetryonGrid
>UniConAbilityIsometricCharge
>UniConAbilitySpatialChargeLauncher
>UniConAbilityAcetonAssimilator
>UniConAbilitySabotageProbeLauncher
>UniConAbilityRepairPlatform
>UniConAbilityProjectedSingularity
>
>RepNukAbilityTetryonCascade
>
>InvAbilitiesNimbusPirateDistressCall
>
>CarrierAbilityPetAttackMode
>
>PetAbilityLaunchEliteTholianMeshWeavers
>PetAbilityLaunchAdvancedObeliskSwarmers
>PetAbilityLaunchEliteScorpionFighters
>
>SingCoreAbilityPlasmaShockwave
>SingCoreAbilityQuantumAbsorption
>
>WarpCoreShieldCapacitator
>
>KlingonCaptAbilityBattleCloak
>
>--
>https://mail.python.org/mailman/listinfo/python-list


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