Path: utzoo!mnetor!uunet!nuchat!sugar!peter From: peter@sugar.UUCP (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: A bad design decision early on in ANSI C. Message-ID: <1364@sugar.UUCP> Date: 6 Jan 88 03:32:55 GMT References: <1322@sugar.UUCP> <7573@alice.UUCP> Organization: Sugar Land UNIX - Houston, TX Lines: 26 Summary: A weaker suggestion. In article <7573@alice.UUCP>, ark@alice.UUCP writes: > In article <1322@sugar.UUCP>, peter@sugar.UUCP writes: > > I would like to suggest removing a "feature" from 'C'. > > Structure assignment/passing. > That would break a lot of programs, including > C programs generated by the C++ compiler. Now *that's* a good reason. It would break programs. Always a good reason not change something. I withdraw the request. OK, how about this... either get lint to flag it, or have an option for the compiler to flag it... #pragma religion(on) I still think that it's against the spirit of 'C' to allow for passing or assignment of anything that's not a first-class object. #pragma religion(off) Yeh, Peter, what about function pointers? Oh shut up. -- -- Peter da Silva `-_-' ...!hoptoad!academ!uhnix1!sugar!peter -- Disclaimer: These U aren't mere opinions... these are *values*.