Re: [squid-users] Adding Header file

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Thu, 17 Apr 2008 22:20:14 +0200

Tor 2008-04-17 klockan 21:19 +0530 skrev Paras Fadte:

> With respect to C++ , is a static member of a class like a global
> variable?

Yes, a class scoped (not object) global variable.

> Does OOP in particular consider use of a static/global
> variable as a bad programming practice?

Most do..

But it do make life a lot easier..

Regards
Henrik
Received on Tue Apr 22 2008 - 14:10:48 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 30 2008 - 12:00:07 MDT