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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ee1a8b8db84c88f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!news-zh.switch.ch!switch.ch!news.hispeed.ch!linux2.krischik.com!news From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Ada exception block does NOT work? Date: Tue, 23 Aug 2005 20:09:06 +0200 Organization: Cablecom Newsserver Message-ID: <5192868.ameRvq1EvN@linux1.krischik.com> References: <1639727.IzdcfkcRx7@linux1.krischik.com> <1227518.U5hWOOGjT8@linux1.krischik.com> NNTP-Posting-Host: 84-72-114-216.dclient.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.hispeed.ch 1124820781 16295 84.72.114.216 (23 Aug 2005 18:13:01 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Tue, 23 Aug 2005 18:13:01 +0000 (UTC) User-Agent: KNode/0.9.2 Xref: g2news1.google.com comp.lang.ada:4267 Date: 2005-08-23T20:09:06+02:00 List-Id: Dennis Lee Bieber wrote: > On Mon, 22 Aug 2005 19:32:01 -0500, Larry Elmore > declaimed the following in comp.lang.ada: > >> >> I'm not sure that's necessarily the case. After all, Unix predates K&R >> and K&R C was certainly not the first version of C. >> > Pardon? > > As I recall, Kernighan and Ritchie /defined/ the original C > language... The original UNIX was Ritchie and Thompson (and some > others)... Well, K&R where programmers - so they likely first wrote the program (C compiler) and and then the book. If you go to Amazon now they will offer you the 2nd edition with ANSI-C. So I guess that looking at he book won't tell you about the very first C. The one without function prototypes - you just had to hope the parameters are right (or use lint). Just to remind you, main looked like this at the time main (argn, argv, env) int argn, char** argv, char** env { puts ("Hello World"); } And yes: no include, the compiler would guess for you how to call puts. > One would think Ritchie, at least, might have had some insights into > the potential access problems Even if there was a time-gap between > the two roles. No he would not. Otherwise he would not have added: * implicit type conversion. * implicit declaration of external functions. * implicit convertion from array to pointer. * implicit convertion from ponter to array. And he might have added: * an optimiser K&R probably where good assember programmers but they where lousy compiler builders. There was better (Algol, PL/1 etc. pp.) at the time. Don't belive me. Well I have 5 years of C and 10 years of C++ experience and now I am an Ada advocate. I have an Ada job at the swiss post and I am just loving it. It's just great! I hope I never have to code another line of C/C++ code in my live. It can't remember the last time I started the debugger. I might have tomorrow - there is some CONSTRAINT_ERROR to hunt down. But hey - that's an event now: I might have to start the debugger - uhh - huu - ;-). When I was doing C/C++ work I could not imagine a single day without debugger. Don't tell me that K&R know anything when they where creating C. They where just feature geil (don't know any English word which translates geil properly) adding features which should never have been added. (sorry guys - just had my 5 minutes of irelevant ranting) Martin -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com