Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: question about linker Date: Sat, 07 Dec 2024 06:51:28 -0800 Organization: A noiseless patient Spider Lines: 14 Message-ID: <8634izk0lr.fsf@linuxsc.com> References: <20241129142810.00007920@yahoo.com> <20241129161517.000010b8@yahoo.com> <87ldwx10gv.fsf@bsb.me.uk> <87ttbj12ec.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sat, 07 Dec 2024 15:51:31 +0100 (CET) Injection-Info: dont-email.me; posting-host="e893c75044f434f201e517765b97f4e2"; logging-data="3286661"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+W7dS00APEgTkWCb00HGCCi0NL8AFmbiM=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:zu32IqJwT1zN+v2dTo6ep8T6MDk= sha1:702Fm9w9FNvn7y5ut3CQGrwcndg= Bytes: 2085 Bart writes: > In a 39Kloc C codebase, there were 21,500 semicolons. > > This is generated C, so some of those may be following labels! > 2000, actually, which still leaves 19,500; a lot of semicolons. > > On a preprocessed sql.c test (to remove comments) there were > 53,000 semicolons in 85,000 lines. > > So in C, they are a very big deal, occuring on every other line. Many years ago I read a book called "How to Lie with Statistics". It should be updated to add this reporting as an example.