🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.admin.technical
Article #38

Re: Following Up to 'X'ed Groups, Revisited

#38
From: Brad Templeton
Date: Wed, 23 Dec 1992 17:09
19 lines
1466 bytes
A general rule of good software design is that if an error is generated,
the software should abort with no side effects.

If a warning is generated, the software should continue as appropriate.
A warning in general is about something that likely has no bad consequences
or can easily be undone.   An uncasted type conversion often merits a warning
by a compiler -- the user can always fix it.

The question is deciding what's an error and what's a warning.  I think
posting to an invalid newsgroup or an unpostable group is an error.  The
user wants the chance to correct the error and repost.

Posting an article causes changes which can be cancelled, but not entirely
undone.  Thus just about any problem in posting should be an error causing
an abort and a message to the user -- making sure the article text is available
for reposting after correction.

-- 
Brad Templeton, ClariNet Communications Corp. -- Sunnyvale, CA 408/296-0366
Technical Details
Message-ID: <1992Dec22.220929.21666@clarinet.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!not-for-mail
References: <Bz5pyw.CF4@unix.amherst.edu> <BzJKCF.IMC@unix.amherst.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!not-for-mail
From: brad@clarinet.com (Brad Templeton)
Newsgroups: news.admin.technical,news.software.readers
Subject: Re: Following Up to 'X'ed Groups, Revisited
Date: 23 Dec 1992 12:09:32 -0500
Organization: ClariNet Communications Corp.
Lines: 20
Sender: zorch@ftp.UU.NET
Approved: zorch@uunet.UU.NET
Distribution: world
Message-ID: <1992Dec22.220929.21666@clarinet.com>
References: <Bz5pyw.CF4@unix.amherst.edu> <BzJKCF.IMC@unix.amherst.edu>
NNTP-Posting-Host: ftp.uu.net