Should I use `[]' notation for array function params?

Stephen J. Friedl friedl at vsi.COM
Wed Dec 21 14:25:56 AEST 1988


Question of the day: does the Prudent Programmer avoid the
[] array notation for function parameters?

				 vv------ array here
	main(int argc, char *argv[])
	{

I recall seeing somewhere that this is not a good thing,
and someday it may go away so vectorization capabilities
can be added to the language.  I happen to like the []
notation, but if there is a good reason not to do it, I'll
stop.

     Steve

-- 
Stephen J. Friedl        3B2-kind-of-guy            friedl at vsi.com
V-Systems, Inc.                                 attmail!vsi!friedl
Santa Ana, CA  USA       +1 714 545 6442    {backbones}!vsi!friedl
Nancy Reagan on my new '89 Mustang GT Convertible: "Just say WOW!"



More information about the Comp.std.c mailing list