comment token mistake

David Goodenough dg at lakart.UUCP
Tue May 2 01:22:34 AEST 1989


>From article <2423 at solo5.cs.vu.nl>, by maart at cs.vu.nl (Maarten Litmaath):
> The choice of the 2-token sequence `/*' for starting a comment, was a mistake:
> 
> 	printf("%d\n", *a/*b);
> 
> -- 
>  "If it isn't aesthetically pleasing, |Maarten Litmaath @ VU Amsterdam:
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   it's probably wrong." (jim at bilpin). |maart at cs.vu.nl, mcvax!botter!maart
    ^^^^^^^^^^^^^^^^^^^^^

The signature quote says it all. Try:

 	printf("%d\n", *a / *b);

Which I for one find infinitely more readable.
-- 
	dg at lakart.UUCP - David Goodenough		+---+
						IHS	| +-+-+
	....... !harvard!xait!lakart!dg			+-+-+ |
AKA:	dg%lakart.uucp at xait.xerox.com		  	  +---+



More information about the Comp.lang.c mailing list