Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!ucbcad!ucbvax!cbosgd!clyde!watmath!rbutterworth From: rbutterworth@watmath.waterloo.edu (Ray Butterworth) Newsgroups: comp.lang.c Subject: Re: A bad design decision early on in ANSI C. Message-ID: <16051@watmath.waterloo.edu> Date: 29 Dec 87 15:00:39 GMT References: <1322@sugar.UUCP> Organization: U of Waterloo, Ontario Lines: 9 In article <1322@sugar.UUCP>, peter@sugar.UUCP (Peter da Silva) writes: > I would like to suggest removing a "feature" from 'C'. > Structure assignment/passing. > ... A simple typo (leaving out an &) can ruin your whole day. > I still get bitten by this bug every now and then. > At least compiler designers should provide a switch to turn it off. Try using LINT. It's really quite good at telling you when you have mismatched arguments.