🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.internat
Article #242

Re: Tools for manipulating message catalogs

#242
From: Erik M. van der Poel
Date: Fri, 12 Apr 1991 07:53
18 lines
1375 bytes
Kee Hinckley writes:
> While you could argue that the code readability doesn't change,
> your mechanism makes it more likely that people will enter the wrong
> number in the code, and thus get the wrong error message.

Instead of treating the symptoms, we should try to cure the disease. 
Using numbers for the message ids was a bad idea in the first place. 
(Thank goodness XPG3 and AT&T's specs are not International
Standards.)

Wouldn't it be possible to create a reasonably efficient
implementation using hashing and caching with symbolic names instead
of numeric ids? Then we can add/delete/modify messages at will. We
should leave numbering and counting to the computer.
-
-- 
Erik M. van der Poel                                      erik@sra.co.jp
Software Research Associates, Inc., Tokyo, Japan     TEL +81-3-3234-2692
Technical Details
Message-ID: <1132@sranha.sra.co.jp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!sranha!srava!erik
References: <1991Apr11.084924.1951@alphalpha.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!sranha!srava!erik
From: erik@srava.sra.co.jp (Erik M. van der Poel)
Newsgroups: comp.std.internat
Subject: Re: Tools for manipulating message catalogs
Message-ID: <1132@sranha.sra.co.jp>
Date: 12 Apr 91 07:53:18 GMT
References: <1991Apr11.084924.1951@alphalpha.com>
Sender: news@sranha.sra.co.jp
Organization: Software Research Associates, Inc., Japan
Lines: 18
Nntp-Posting-Host: srava