Article View: news.software.nntp
Article #59747Re: [yenc] yydecode -- reimplementation of decoder
From: bill davidsen
Date: Tue, 30 Jul 2002 18:41
Date: Tue, 30 Jul 2002 18:41
22 lines
2338 bytes
2338 bytes
In article <a4n4gp$5c6$1@pegasus.csx.cam.ac.uk>, Liyang Hu <newsgroups@nerv.cx> wrote: | How would you propose the decoder cope with all of these then? | Should it just give up, or try to Do the Right Thing? (Then again, | in these cases, what is the right thing to do?) Make sure you | include a description of expected behaviour! In all cases where it can tell what "really wrong" (tm) and correct for it, I think it should. Having paid the freight to download the file, you presumably want it. Therefore if you can handle the problem in a determanent way, write a file and add .broken to the end, as several yydecoders already do. Or just emit a warning on stderr, if the user ignores it, so what? -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc Programming without software engineering is like sculpting with a chain saw. The very talented can produce a work of art, the mediocre wind up with a misshapen lump in a pile of rubble, and in neither case does the end result have more than a passing resemblance to the original intent.
Technical Details
Message-ID:
<ai6mju$3dbi$1@newssvr05-en0.news.prodigy.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!prodigy.*.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!not-for-mailReferences:
<a4i6q4$kr8$1@pegasus.csx.cam.ac.uk> <41299.g22205@archiver.winews.net> <0vct6ugbfkb43j1p6168m37qoml0ahtej9@4ax.com> <a4n4gp$5c6$1@pegasus.csx.cam.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <ai6mju$3dbi$1@newssvr05-en0.news.prodigy.com> Subject: Re: [yenc] yydecode -- reimplementation of decoder Date: Tue, 30 Jul 2002 18:41:02 +0000 From: davidsen@tmr.com (bill davidsen) References: <a4i6q4$kr8$1@pegasus.csx.cam.ac.uk> <41299.g22205@archiver.winews.net> <0vct6ugbfkb43j1p6168m37qoml0ahtej9@4ax.com> <a4n4gp$5c6$1@pegasus.csx.cam.ac.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!prodigy.*.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!not-for-mail Newsgroups: news.software.nntp Organization: TMR Associates, Schenectady NY Lines: 21 NNTP-Posting-Host: deathstar.prodigy.com X-Trace: newssvr05-en0.news.prodigy.com 1028054462 000 192.168.192.240 (30 Jul 2002 18:41:02 GMT) X-Complaints-To: abuse@prodigy.net NNTP-Posting-Date: Tue, 30 Jul 2002 18:41:02 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: davidsen@deathstar.prodigy.com (Bill Davidsen)