From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 27 Jul 93 15:33:23 GMT From: sampson@cod.nosc.mil (Charles H. Sampson) Subject: Re: Underscore ("_") in numeric literals Message-ID: <1993Jul27.153323.17551@nosc.mil> List-Id: In article <22lte3$nqm@nic.lth.se> dag@control.lth.se (Dag Bruck) writes: > >I would like to know to what extent people use undescore ("_") >characters in numeric literals, e.g., "100_000". Please send me your >opinions, etc. When I first saw the "underscore in numeric literals" feature I said, "Interesting frill, but who cares?" After all, my first non-assembly pro- gramming was in FORTRANSIT and I have lots of experience in reading 10-digit decimal literals. My style has since evolved to the point that I use the underscore in any decimal literal longer than five digits. That's on either side of the decimal point. When working with bit strings (base 2) I used it every fourth bit to highlight the nybble boundaries. I'd hate to do without it. Most of the people in my shop (who are admittely heavily influenced by me) do the same. Charlie