Declaring argument types
Dave Clemans
davec at tektronix.UUCP
Sat Sep 17 01:59:24 AEST 1983
<Flame up>
I'm afraid I must take issue with any proposal to make C look like
Pascal, which is where this discussion is leading. Pascal is a
marvelous language to learn as a first language, it's got structure
and picky syntax and all that good stuff. Unfortunately, for any
practical purposes it is very unwieldy. I can see it now; we start
by allowing the arguments to functions to be declared within
the function header and in a little while, people will want to be
able to declare their arrays like foo[6..20] instead of foo[14].
I have written a small scheduler in modula (a pascal look-alike),
and I speak from experience. It has been said many times, but I'll
say it again: the beauty of C is that it is simple in its concepts.
Don't go cluttering it up with remnants of other languages.
<flame down>
Rick Lindsley
richl at tektronix
...!tektronix!richl
More information about the Comp.lang.c
mailing list