Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!tektronix!tekmdp!bronze!philipl From: philipl@bronze.UUCP (Philip Lantz) Newsgroups: net.lang.c Subject: Re: type-checking function arguments Message-ID: <747@bronze.UUCP> Date: Tue, 20-Sep-83 00:30:54 EDT Article-I.D.: bronze.747 Posted: Tue Sep 20 00:30:54 1983 Date-Received: Wed, 14-Sep-83 07:17:26 EDT Lines: 10 Why do we want the COMPILER to check argument types? Lint does it very well. It even knows about the library functions, and functions that take a variable arguments, and functions declared in other files, and other problems that the compiler would have doing it. And if lint tells you you're passing an int to a function that takes a short, you can cast it, which makes it clear to the next person that looks at your code that you know what's going on, and intended it. Philip Lantz tekmdp!bronze!philipl