Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!mit-eddie!uw-beaver!tektronix!tekgen!tekred!kens From: kens@tekred.TEK.COM (Ken Spencer) Newsgroups: comp.lang.c++ Subject: Friends, static members Keywords: Considered Harmful? Message-ID: <2668@tekred.TEK.COM> Date: 20 Jun 88 14:20:13 GMT Organization: Tektronix Inc., Beaverton, Or. Lines: 13 I have just started using c++, I'd like to here what people think of "Friends considered harmful", and also "Static members considered harmful"(not const static members). I have heard of some people trying to go through an entire project without using any friend constructs because of the potential "spagetti code" syndrome. Is friend generally used as a hack to get around some problems with C++? How about static members, is this really a limited scope global object? -- Ken Spencer,Tekronix Inc. CNA Engineering Redmond, OR kens@speed.CNA.TEK.COM