Article View: news.software.nntp
Article #61324Re: Custom Client Software - Last Quick Question
From: t.h.i.s.n.t.h.a.t DS
Date: Fri, 11 Oct 2002 20:36
Date: Fri, 11 Oct 2002 20:36
52 lines
2925 bytes
2925 bytes
archiver@i3w.com (Juergen Helbing) wrote in <4005l.aa2202@archiver.winews.net>: >curt@kcwc.com (Curt Welch) wrote: > >>So for >>sure, start off by always waiting for the response and then look for >>times where you feel you might want to do something tricker later. > >I would not subscribe to that statement - after writing MyNews for three >years now. >A programming sequence which is based on send-wait-receive-send... >is so differently from a "send-send-send..... read-read-read" approach >that the produced software is unusable later. > >My (very personal and subjective) tips would be: > >Write your code from the beginning as if would have to handle a stream >of replies. Here: feed the full responses to a parser. That is what I have been doing up until this point, and will continue to do so. i will continue testing to see what is reliable where and try to cut corners only when necessary, and of course fully test these cut corners as well. > >In the specific case - groups... head.... I personally would _always_ >wait if the group is valid (wait for the response). But issuing >50 head/article commands with WAIT is not acceptable - especially if >the programmers targets high speed (DSL) audience. >(A better method for head-head-head is to use the msgid instead >of the article number. Then the group command is not necessary at all). > >Creating a "small program" first - and expanding it later without >having enough thought about the fundamental structure results >often in instable structure. which is not what i'm doing. stability is my #1 concern, then followed by speed. after complete stable functionality is achieved, i will then re- evaluate all the functions and such and work on the speed at that time. DS 'other' personal experiences, product development tho, not software. > > >Personal experiences.... >
Technical Details
Message-ID:
<92A4A430Didispcom@64.8.1.226>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!router1.news.adelphia.net!news1.news.adelphia.net.POSTED!not-for-mailReferences:
<92A385EF1idispcom@64.8.1.226> <20021010142425.883$Mr@newsreader.com> <4005l.aa2202@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <92A4A430Didispcom@64.8.1.226> Subject: Re: Custom Client Software - Last Quick Question Date: Fri, 11 Oct 2002 20:36:26 GMT From: t.h.i.s.n.t.h.a.t@a.d.e.l.p.h.i.a..n.e.t (DS) References: <92A385EF1idispcom@64.8.1.226> <20021010142425.883$Mr@newsreader.com> <4005l.aa2202@archiver.winews.net> 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!router1.news.adelphia.net!news1.news.adelphia.net.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: Your Company User-Agent: Xnews/03.08.04 Lines: 51 NNTP-Posting-Host: 68.71.194.138 X-Complaints-To: abuse@adelphia.net X-Trace: news1.news.adelphia.net 1034368586 68.71.194.138 (Fri, 11 Oct 2002 16:36:26 EDT) NNTP-Posting-Date: Fri, 11 Oct 2002 16:36:26 EDT