This one bit me today

John Woods john at frog.UUCP
Fri Oct 6 12:43:00 AEST 1989


In article <2432 at hub.UUCP>, dougp at voodoo.ucsb.edu writes:
> -Message-Text-Follows-
< main()
>   {
<   int a=1,b=2,*p=&a,c;
>   c=b/*p;
<   }
> First real flaw in the C grammer I have found.

usespacestheymakeyourcodemuchmorereadableandhappentoavoidthisproblemasa
pleasantsideeffectparentheseswouldalsobehandysincepunctuationcanbeyourfriend
-- 
John Woods, Charles River Data Systems, Framingham MA 508-626-1101
...!decvax!frog!john, john at frog.UUCP, ...!mit-eddie!jfw, jfw at eddie.mit.edu



More information about the Comp.lang.c mailing list