๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++
Article #1197

Re: Re: โ€œThe end of software secrecy is almost upon

#1197
From: Scott Dorsey
Date: Sun, 06 Dec 2026 01:31
18 lines
1694 bytes
Dorothy J Heydt <djheydt@kithrup.com> wrote:
>[Hal Heydt]
>I put in a comment in one program that said: If you don't
>understand how this routine works, don't mess with it.
>
>It was a routine to extract a number from a string of characters
>that might or might not have a decimal point and with no input
>indicating how many digits were expected on either side of the
>possible decimal point.  It was in COBOL.

This sort of thing is very easy to do if you draw out the state transition
diagram first, and very hard to do if you can't visualize the state 
transition diagram.  This is the sort of code where some ascii art 
in a comment can be of use.
--scott

-- 
"C'est un Nagra. C'est suisse, et tres, tres precis."
Technical Details
Message-ID: <11f2du8$fmd$1@panix2.panix.com>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!panix!.POSTED.2602:f977:0:1::2!not-for-mail
References: <11amvre$15far$1@dont-email.me> <11f1mc3$g8u$1@panix2.panix.com> <11f20nf$3c213$1@dont-email.me> <tpLI71.10HJ@kithrup.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!weretis.net!feeder9.news.weretis.net!panix!.POSTED.2602:f977:0:1::2!not-for-mail
From: kludge@panix.com (Scott Dorsey)
Newsgroups: rec.arts.sf.written,comp.lang.fortran,comp.lang.c++,alt.comp.lang.rust,alt.folklore.computers
Subject: Re: Re: โ€œThe end of software secrecy is almost upon
Date: Sat, 5 Dec 2026 20:31:52 -0500 (EST)
Organization: Former users of Netcom shell (1989-2000)
Message-ID: <11f2du8$fmd$1@panix2.panix.com>
References: <11amvre$15far$1@dont-email.me> <11f1mc3$g8u$1@panix2.panix.com> <11f20nf$3c213$1@dont-email.me> <tpLI71.10HJ@kithrup.com>
Injection-Info: reader2.panix.com; posting-host="2602:f977:0:1::2";
	logging-data="3300"; mail-complaints-to="abuse@panix.com"