Path: utzoo!utgpu!watmath!clyde!att!rutgers!mailrus!husc6!ogccse!blake!uw-beaver!uw-june!ka From: ka@june.cs.washington.edu (Kenneth Almquist) Newsgroups: comp.lang.c Subject: Re: Proposal for a scientific look at C style choices Message-ID: <6843@june.cs.washington.edu> Date: 5 Jan 89 06:16:18 GMT References: <272@twwells.uucp> <9279@ihlpb.ATT.COM> <902@husc6.harvard.edu> Organization: U of Washington, Computer Science, Seattle Lines: 11 > Humans process 2d information extremely well - they are only moderately good > at parsing long strings. On the other hand, computers are very good at > parsing long strings - they are at best only moderately good at processing > 2d information. Actually, even computers are pretty good at recognizing indentation. If you use Yacc, which expects its input to consist of a series of tokens, make the lexical analyzer can look at the indentation level and generate the beginning and ending braces. I've done this; it takes less than a page of code to implement. Kenneth Almquist