Re: Avoidinig globals
From: Tim (al_at_gahnstrom.se)
Date: 03/08/05
- Next message: Phill. W: "Re: Avoidinig globals"
- Previous message: Øyvind Isaksen: "Generate SQL with a loop..."
- In reply to: Mark Schupp: "Re: Avoidinig globals"
- Next in thread: Phill. W: "Re: Avoidinig globals"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 08 Mar 2005 07:48:14 GMT
Mark Schupp wrote:
> Either don't use globals at all (as in following example) or use a naming
> convention for global variables like "g_var" so that you only use them
> intentionally in subroutines.
Both solutions are workable but none are really good I think.
But if there is not globals explicit kind of directive I guess they are
as good as they will be.
Thanks
Tim
- Next message: Phill. W: "Re: Avoidinig globals"
- Previous message: Øyvind Isaksen: "Generate SQL with a loop..."
- In reply to: Mark Schupp: "Re: Avoidinig globals"
- Next in thread: Phill. W: "Re: Avoidinig globals"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|