From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,df854b5838c3e14 X-Google-Attributes: gid109fba,public X-Google-Thread: 103376,df854b5838c3e14 X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,df854b5838c3e14 X-Google-Attributes: gid1014db,public From: jmartin@cs.ucla.edu (Jay Martin) Subject: Re: C/C++ knocks the crap out of Ada Date: 1996/03/15 Message-ID: <4icja9$1r92@saba.info.ucla.edu>#1/1 X-Deja-AN: 142906535 references: <00001a73+00002504@msn.com> <4i9ld6$m2v@rational.rational.com> <4iah20$p7k@saba.info.ucla.edu> <4ica32INN5hn@gambier.ugrad.cs.ubc.ca> organization: University of California, Los Angeles newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Date: 1996-03-15T00:00:00+00:00 List-Id: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) writes: >In article <4iah20$p7k@saba.info.ucla.edu>, >Jay Martin wrote: > >rlk@rational.com (Bob Kitzberger) writes: > > > >>: make is a _general_purpose_ utility. It _can_ be used to manage C > >>: projects, or it can be used for a whole host of other things. How is > >>: this hard to understand? Does ADA provide its own OS, its own editor and > >>: its own hardware so that you never need to use anything else? > > > >>I don't think that anyone is having difficulty understanding your point. > >>Make is indeed general purpose, but its roots are in the C/Unix > >>culture, and those roots show. > > > >Right, make is mostly used to support development in C and other > >primitive languages. I have seen this piece of crap utility used for > >all sort of braindead misuses. Unix-ites seem to love to dp goofy > >things with their utilities. Heh, I have seen people using Lex and > >Yacc to build parsers to read in simple tables. Like swatting a bug >Lex and Yacc are proven utilities that work. Lex and Yacc are braindead crap along with C and Unix. Do they have an option to output Ada?? >The input file to Lex is far easier to debug and maintain than a hand-written >lexical analyzer. >Yacc makes you an efficient LALR(1) parser---all you do is specify a grammar >and a few C snippet ``actions''! If it was any easier, I'd fall asleep at the >keyboard. You have become and "idiot savant" at it, congratulations, unfortunately the next guy might not reading your code. I wasn't talking about needing a grammer, I was talking with about reading in a simple table. Its stupid to bring in two tools with two more "languages" to do something trivial that takes a page of normal code. >A lex generated scanner is far more robust and _faster_ than scanf(), you twit, >especially if you use GNU flex -f to generate the scanner. >I have written a test program in which I compared a flex scanner against >scanf().... > System specific performance nonsense deleted. > Glowing accounts of the wonderfulness of Lex and Yacc deleted. Jay