Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Question about static vs global variables

Author: Gian-Carlo Pascutto

Date: 14:15:18 10/26/01

Go up one level in this thread


On October 26, 2001 at 16:56:19, Derek Mauro wrote:

>I've always read that globals should be avoided.

A good reason to avoid them anyway is style.

Using lots of global variables is usually considered bad style.

As author of a program that uses a lot of them, I can tell
you people say that for very good reasons.

--
GCP



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.