Re: Official list of top C annoyances

Liste des GroupesRevenir à l c 
Sujet : Re: Official list of top C annoyances
De : bc (at) *nospam* freeuk.com (bart)
Groupes : comp.lang.c
Date : 09. Sep 2026, 18:38:07
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <117s5i0$1bl4n$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Mozilla Thunderbird
On 09/09/2026 16:48, Scott Lurndal wrote:
bart <bc@freeuk.com> writes:
On 09/09/2026 15:25, Lane W wrote:
 
>
WHERE IS THIS DUPLICATION?
You have 3 near-identical calls to slog(). And in this new version, NEAT
etc occur 3 times each (plus the enum names don't match what is printed
so are confusing).
>
Here's a version with only one call to slog:
>
   char* sdodge = NULL;
>
   if (dodge < 1.0)
       sdodge = " hardly";
   if (dodge < 0.9)
       sdodge = "";
   if (dodge < 0.5)
       sdodge = " easily";
 So you assign sdodge up to three times.   A waste of cycles.
This was adapted from Lane W's code. I was addressing the duplicated slog calls and the poor choice of enums.

Date Sujet#  Auteur
6 Sep 26 * Official list of top C annoyances396fir
6 Sep 26 +- Re: Official list of top C annoyances1fir
6 Sep 26 +* Re: Official list of top C annoyances368bart
6 Sep 26 i+* Re: Official list of top C annoyances366Janis Papanagnou
7 Sep 26 ii+* Re: Official list of top C annoyances362fir
7 Sep 26 iii`* Re: Official list of top C annoyances361bart
7 Sep 26 iii +* Re: Official list of top C annoyances359David Brown
7 Sep 26 iii i`* Re: Official list of top C annoyances358bart
7 Sep 26 iii i +- Re: Official list of top C annoyances1fir
7 Sep 26 iii i `* Re: Official list of top C annoyances356David Brown
7 Sep 26 iii i  +* Re: Official list of top C annoyances354bart
7 Sep 26 iii i  i+* Re: Official list of top C annoyances65Janis Papanagnou
8 Sep 26 iii i  ii+* Re: Official list of top C annoyances24bart
8 Sep 26 iii i  iii+* Re: Official list of top C annoyances6Lane W
8 Sep 26 iii i  iiii`* Re: Official list of top C annoyances5Keith Thompson
9 Sep 26 iii i  iiii `* Re: Official list of top C annoyances4fir
9 Sep 26 iii i  iiii  `* Re: Official list of top C annoyances3fir
9 Sep 26 iii i  iiii   `* Re: Official list of top C annoyances2fir
18 Sep08:38 iii i  iiii    `- Re: Official list of top C annoyances1fir
8 Sep 26 iii i  iii+- Re: Official list of top C annoyances1Janis Papanagnou
8 Sep 26 iii i  iii`* Re: Official list of top C annoyances16bart
9 Sep 26 iii i  iii +- Re: Official list of top C annoyances1Janis Papanagnou
9 Sep 26 iii i  iii `* Re: Official list of top C annoyances14David Brown
9 Sep 26 iii i  iii  `* Re: Official list of top C annoyances13bart
9 Sep 26 iii i  iii   `* Re: Official list of top C annoyances12David Brown
9 Sep 26 iii i  iii    `* Re: Official list of top C annoyances11bart
9 Sep 26 iii i  iii     `* Re: Official list of top C annoyances10David Brown
9 Sep 26 iii i  iii      `* Re: Official list of top C annoyances9bart
9 Sep 26 iii i  iii       +- Re: Official list of top C annoyances1bart
9 Sep 26 iii i  iii       +* Re: Official list of top C annoyances3David Brown
9 Sep 26 iii i  iii       i`* Re: Official list of top C annoyances2bart
10 Sep 26 iii i  iii       i `- Re: Official list of top C annoyances1David Brown
9 Sep 26 iii i  iii       +* Re: Official list of top C annoyances2Janis Papanagnou
9 Sep 26 iii i  iii       i`- Re: Official list of top C annoyances1Janis Papanagnou
9 Sep 26 iii i  iii       `* Re: Official list of top C annoyances2Keith Thompson
9 Sep 26 iii i  iii        `- Re: Official list of top C annoyances1bart
8 Sep 26 iii i  ii`* Re: Official list of top C annoyances40David Brown
9 Sep 26 iii i  ii `* Re: Official list of top C annoyances39Janis Papanagnou
9 Sep 26 iii i  ii  `* Re: Official list of top C annoyances38David Brown
9 Sep 26 iii i  ii   +* Re: Official list of top C annoyances7Janis Papanagnou
9 Sep 26 iii i  ii   i`* Re: Official list of top C annoyances6David Brown
10 Sep 26 iii i  ii   i `* Re: Official list of top C annoyances5Chris M. Thomasson
10 Sep 26 iii i  ii   i  +- Re: Official list of top C annoyances1Chris M. Thomasson
11 Sep 26 iii i  ii   i  +- Re: Official list of top C annoyances1David Brown
14 Sep 26 iii i  ii   i  `* Re: Official list of top C annoyances2Kaz Kylheku
18 Sep16:29 iii i  ii   i   `- Re: Official list of top C annoyances1Tim Rentsch
9 Sep 26 iii i  ii   `* Re: Official list of top C annoyances30Keith Thompson
9 Sep 26 iii i  ii    +* Re: Official list of top C annoyances26David Brown
9 Sep 26 iii i  ii    i`* Re: Official list of top C annoyances25Lane W
9 Sep 26 iii i  ii    i +* Re: Official list of top C annoyances23David Brown
9 Sep 26 iii i  ii    i i+* Re: Official list of top C annoyances8Lane W
9 Sep 26 iii i  ii    i ii+* Re: Official list of top C annoyances6fir
9 Sep 26 iii i  ii    i iii+* Re: Official list of top C annoyances3Lane W
9 Sep 26 iii i  ii    i iiii+- Re: Official list of top C annoyances1fir
10 Sep 26 iii i  ii    i iiii`- Re: Official list of top C annoyances1Keith Thompson
9 Sep 26 iii i  ii    i iii`* Re: Official list of top C annoyances2fir
9 Sep 26 iii i  ii    i iii `- Re: Official list of top C annoyances1fir
9 Sep 26 iii i  ii    i ii`- Re: Official list of top C annoyances1David Brown
9 Sep 26 iii i  ii    i i+* Re: Official list of top C annoyances13bart
9 Sep 26 iii i  ii    i ii`* Re: Official list of top C annoyances12Lane W
9 Sep 26 iii i  ii    i ii +* Re: Official list of top C annoyances9bart
9 Sep 26 iii i  ii    i ii i+* Re: Official list of top C annoyances6fir
9 Sep 26 iii i  ii    i ii ii+* Re: Official list of top C annoyances4fir
9 Sep 26 iii i  ii    i ii iii`* Re: Official list of top C annoyances3fir
9 Sep 26 iii i  ii    i ii iii `* Re: Official list of top C annoyances2fir
9 Sep 26 iii i  ii    i ii iii  `- Re: Official list of top C annoyances1fir
9 Sep 26 iii i  ii    i ii ii`- Re: Official list of top C annoyances1fir
9 Sep 26 iii i  ii    i ii i+- Re: Official list of top C annoyances1bart
10 Sep 26 iii i  ii    i ii i`- Re: Official list of top C annoyances1David Brown
9 Sep 26 iii i  ii    i ii +- Re: Official list of top C annoyances1David Brown
9 Sep 26 iii i  ii    i ii `- Re: Official list of top C annoyances1Keith Thompson
10 Sep 26 iii i  ii    i i`- Re: Official list of top C annoyances1Janis Papanagnou
9 Sep 26 iii i  ii    i `- Re: Official list of top C annoyances1Keith Thompson
9 Sep 26 iii i  ii    `* Re: Official list of top C annoyances3Richard Harnden
9 Sep 26 iii i  ii     +- Re: Official list of top C annoyances1Keith Thompson
10 Sep 26 iii i  ii     `- Re: Official list of top C annoyances1Janis Papanagnou
8 Sep 26 iii i  i`* Re: Official list of top C annoyances288Waldek Hebisch
8 Sep 26 iii i  i `* Re: Official list of top C annoyances287bart
9 Sep 26 iii i  i  +* Re: Official list of top C annoyances269Waldek Hebisch
9 Sep 26 iii i  i  i+- Re: Official list of top C annoyances1Janis Papanagnou
9 Sep 26 iii i  i  i`* Re: Official list of top C annoyances267bart
9 Sep 26 iii i  i  i +- Re: Official list of top C annoyances1tTh
9 Sep 26 iii i  i  i +* Re: Official list of top C annoyances3David Brown
9 Sep 26 iii i  i  i i`* Re: Official list of top C annoyances2bart
10 Sep 26 iii i  i  i i `- Re: Official list of top C annoyances1David Brown
9 Sep 26 iii i  i  i +* Re: Official list of top C annoyances121Janis Papanagnou
9 Sep 26 iii i  i  i i`* Re: Official list of top C annoyances120bart
10 Sep 26 iii i  i  i i +* Re: Official list of top C annoyances41Janis Papanagnou
10 Sep 26 iii i  i  i i i`* Re: Official list of top C annoyances40bart
10 Sep 26 iii i  i  i i i `* Re: Official list of top C annoyances39fir
10 Sep 26 iii i  i  i i i  +* Re: Official list of top C annoyances3fir
10 Sep 26 iii i  i  i i i  i`* Re: Official list of top C annoyances2fir
10 Sep 26 iii i  i  i i i  i `- Re: Official list of top C annoyances1fir
10 Sep 26 iii i  i  i i i  `* Re: Official list of top C annoyances35bart
10 Sep 26 iii i  i  i i i   +- Re: Official list of top C annoyances1fir
10 Sep 26 iii i  i  i i i   `* Re: Official list of top C annoyances33fir
10 Sep 26 iii i  i  i i i    +* Re: Official list of top C annoyances31bart
10 Sep 26 iii i  i  i i i    i+* Re: Official list of top C annoyances5fir
10 Sep 26 iii i  i  i i i    ii`* Re: Official list of top C annoyances4fir
10 Sep 26 iii i  i  i i i    ii `* Re: Official list of top C annoyances3bart
10 Sep 26 iii i  i  i i i    ii  `* Re: Official list of top C annoyances2fir
10 Sep 26 iii i  i  i i i    i`* Re: Official list of top C annoyances25fir
10 Sep 26 iii i  i  i i i    `- Re: Official list of top C annoyances1fir
10 Sep 26 iii i  i  i i `* Re: Official list of top C annoyances78David Brown
13 Sep 26 iii i  i  i `* Re: Official list of top C annoyances141Waldek Hebisch
9 Sep 26 iii i  i  `* Re: Official list of top C annoyances17Janis Papanagnou
8 Sep 26 iii i  `- Re: Official list of top C annoyances1Chris M. Thomasson
7 Sep 26 iii `- Re: Official list of top C annoyances1fir
7 Sep 26 ii`* Re: Official list of top C annoyances3David Brown
7 Sep 26 i`- Re: Official list of top C annoyances1Chris M. Thomasson
7 Sep 26 +- Re: Official list of top C annoyances1fir
8 Sep 26 `* Re: Official list of top C annoyances25fir

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal