Re: Poll: global buffers

From: Thomas Jones (
Date: 07/20/01

George Greer wrote:

>Oh, why? What's wrong with global variables in your opinion?
>Not that I'm encouraging anything, but I'm interested in knowing why.

Probably nothing more than it being beaten into me by a professor in
college.  As I said, I tend to use them but cringe everytime I do.

Actually, variable such as the various bufs is an acceptable use for
globals if you ask me.  The globals I tend to frown upon are ones that
actually store values that need to be kept.  It is too easy to overwrite
them accidentally. Especially if more than one coder is involved.

   | FAQ: |
   | Archives: |

This archive was generated by hypermail 2b30 : 12/06/01 PST