🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #80

Re: Optimization by programmers

#80
From: Andy Valencia
Date: Tue, 13 Oct 2026 16:09
22 lines
2080 bytes
anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
> hex \ change to base #16
> add \ is this a dictionary word, or a number?
> 
> The classic ways to avoid this has been to
> 
> 1) prefix hex numbers with 0 if they would otherwise start with a
>    letter.  Dictionary words rarely start with digits, and when they
>    do, they don't conflict with hex numbers.

Alternately, Forth could adopt practices which have become broad,
de facto standards.  So, referencing above, instead hex numbers
have a 0xadd prefix, and you don't switch the base of the system.

While you're at it, start the transition to "//" as the comment
token.  From memory, who's holding out?  Only Forth, Smalltalk, and
COBOL come to mind.

Andy Valencia
Home page: https://www.vsta.org/andy/
To contact me: https://www.vsta.org/contact/andy.html
No AI was used in the composition of this message
Technical Details
Message-ID: <179190779286.25645.14465927900754526737@media.vsta.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <1791742457-5857@newsgrouper.org> <11agm4p$2tfut$1@dont-email.me> <11ahs8q$38ir0$4@dont-email.me> <11aig3c$3hdcn$1@dont-email.me> <11aiqc0$3kr94$3@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Andy Valencia <vandys@vsta.org>
Newsgroups: comp.arch
Subject: Re: Optimization by programmers
Date: Tue, 13 Oct 2026 09:09:52 -0700
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <179190779286.25645.14465927900754526737@media.vsta.org>
References: <1791742457-5857@newsgrouper.org> <11agm4p$2tfut$1@dont-email.me> <11ahs8q$38ir0$4@dont-email.me> <11aig3c$3hdcn$1@dont-email.me> <11aiqc0$3kr94$3@dont-email.me>
Injection-Date: Tue, 13 Oct 2026 16:17:57 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="748392"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19XoAV8U9aTlevFl+d9s+yA"; posting-host="77d6a772d29ef81e8d4bedc80216f0c1"
User-Agent: rn.py v0.0.1
Cancel-Lock: sha1:rs93ZLQMh7BwmrCdwfH8pyO8CtQ= sha256:vFyzWRSxChVgSVz4QZ9wxxdV1Q2YgK01J3fnex0jjN8=
	sha1:HWva5o/ycMad1BE0EGHMHy5kFm0= sha256:m3tAu143+f2THw6sbStjPfCTXqQeXzdcV1TmSyLy44Y=