Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Toy code for currency handling Date: Mon, 11 Dec 2017 08:50:57 -0800 Organization: None to speak of Lines: 17 Message-ID: References: <3HQVB.175748$E01.77780@fx09.am4> <_u%VB.198174$pG.159657@fx18.am4> <87k1xymuhl.fsf@bsb.me.uk> <25ba01c3-452a-40c6-92a3-596703ad9836@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader02.eternal-september.org; posting-host="669e685d4fbb910273bdaef1b49081a4"; logging-data="5656"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/KC0UR+CfKz+DlsUFvyTr5" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:edSbnyjfXj7r4SdVV3VCTPADP/M= sha1:P41UuuTp78jDI6fF1V43n3gWK0M= Xref: csiph.com comp.lang.c:124142 herrmannsfeldt@gmail.com writes: > On Thursday, December 7, 2017 at 7:24:41 AM UTC-8, Ben Bacarisse wrote: [...] >> The advice was simple: for portability use lower case for external names >> and keep them distinct in the first 6 characters. > > It is better to use some of the first and last characters, to allow > for names with trailing count value. myfunction0, myfunction1, ... Perhaps it would have been, but C90 guaranteed only 6 significant initial characters in an external identifier. -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"