I'm useless with formatting but I am trying to tidy up my programming style.
Is there a standardised formatting / good practice for local vs global variable naming i.e something simple like this:
Local
rider_weightL = 120
Global
mirror_angleG = pi/3
or is it best just to presume people will work out the scope and not bother with this, am I getting anal?
@TheBrick(Tommy) started
London Fixed Gear and Single-Speed is a community of predominantly fixed gear and single-speed cyclists in and around London, UK.
This site is supported almost exclusively by donations. Please consider donating a small amount regularly.
I'm useless with formatting but I am trying to tidy up my programming style.
Is there a standardised formatting / good practice for local vs global variable naming i.e something simple like this:
Local
rider_weightL = 120
Global
mirror_angleG = pi/3
or is it best just to presume people will work out the scope and not bother with this, am I getting anal?