Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!visix!news From: amanda@visix.com (Amanda Walker) Newsgroups: comp.object Subject: Re: Documenting OO Systems Message-ID: <1991Apr1.175344.3317@visix.com> Date: 1 Apr 91 17:53:44 GMT Article-I.D.: visix.1991Apr1.175344.3317 References: <1991Mar26.191259.14470@i88.isc.com> <4693@osc.COM> <27F4D3F3.6CD@tct.uucp> Sender: news@visix.com Organization: Visix Software Inc., Reston, VA Lines: 30 In article <27F4D3F3.6CD@tct.uucp> chip@tct.uucp (Chip Salzenberg) writes: Actually, this code isn't legal C, what with the declarations in the middle of the function. Well... it's not according to K&R, but it would be accepted by may C compilers (I haven't checked my ANSI grammar). This doesn't seem to materially affect Jim's point, though. Nevertheless, it is easily recognized as the classic month/day/year to Julian day conversion, with zero as the error return. Indeed. I didn't find it at all opaque. Ugly, perhaps :), but formatting gains a lot of its leverage after you pass a screenful or so. "English = Bad" does NOT necessarily imply "!English = Good". What? Bringing Freshman Logic 101 into a Usenet discussion? How dare you? :) :) Anyway... Jim's point would be a little better made with one of the Obfuscated C Contest winners, but even there I'd say it's a pretty marginal point. Showing that you can write garbage in C doesn't mean you can't write poetry in it too. -- Amanda Walker amanda@visix.com Visix Software Inc. ...!uunet!visix!amanda -- We find ourselves confronted by insurmountable opportunities.