Re: Official list of top C annoyances

Liste des GroupesRevenir à l c 
Sujet : Re: Official list of top C annoyances
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.lang.c
Date : 06. Sep 2026, 20:41:23
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <117kfl3$2294f$1@dont-email.me>
References : 1 2
User-Agent : Mozilla Thunderbird
On 2026-09-06 17:52, bart wrote:
On 06/09/2026 14:45, fir wrote:
i think this list should be done maybe
but i would need to compose it
>
so this post is not yet a list but to open
a topic
>
two most top annoyances at the moment of my
memory is
>
I
>
  need of predeclarations (this is that i need
to declare a symbol up its usage as it cant be seen down
in code)
Are you saying you miss the option to do
x = 1.5;
/*
     ... 100 lines of code ...
*/
float x;
Or do you want to resolve *every* entity name by the linker
(without seeing the declaration at the place where it belongs)?
Or do you just not "like" typed languages? (Want more scripting?)
I suppose you are using the wrong language for your liking, and
complain in the wrong newsgroup.

>
ITS TERRIBLE ANNOYING AND USELESS
Strange that you find a principle like that - one that you find
in most typed programming languages, I'd say! - "terrible".
(It may annoy _you_, but it's certainly not "useless".)

>
II
>
  no adhoc enums (tags) type - i mean
such i dont need tod efine i just may use it
>
[...]
>
SECOND TERRIBLE ANNOYANCE
>
III....
>
other candidates are
>
1) that i need to repeat type names foo(floay x, float y, float z)
instedad of foo(float x,y,x)
Given the many typing errors you make I understand that you want
to have less to type.
I'm currently programming mostly in a language that supports your
preferred syntax rule, but I have no problem if a language doesn't.

>
2) that i need end line with ";" (where newline sign should work
You're obviously in the wrong newsgroup. It's typical that semantic
phrases are separated by delimiters (or, in "C", by terminators).
Again, I'm positive that is a common principle to define languages;
notable exceptions are many scripting languages.
You should think about what you buy, language design-wise, with the
decision to allow newlines instead, or to allow both.
Or just switch the language you are currently using and complaining
about.

>
3) that "," operator dont work in many cases
Not sure what you mean here.
Operators work on entities of their defined types and return a result
of some type.
Personally I have a critical view on considering the ',' as _operator_
in the first place (in "C"). Mostly it's used in programming languages
as a syntactical delimiter (that defines, for example, collaterality).

>
4) & and | should also be used for logical imo
(i would need to rethink if t needs some changes in language and when it ffalls) now
But that's how it was initially defined and it's use is still possible
(if you consider subtle differences to '&&' and '||'). - But you won't
do anyone a favor if you use a language in your own - debatable! - way,
at least in cases where you'd cooperate with other people.
In your own program writing activities use the construct that you like.

>
5) *p.s works bad
It works as it's defined. And with the preferences as defined. (It's
also common in other languages to have struct-selectors bind strongly.)
What's "bad" about it? - If you intended to have a semantics of (*p).s
then just use p->s as it's been supposed.
(It may help to you learn the language you intend to use, before using
it.)
If you think "C" is badly defined, generally or concerning precedence
(with that or generally), just switch to a language that better suits
you.

>
>
and yet few things
>
(i was writing on all this already but i hjust think official list should be written)
Most things are either opinion and personal preferences (or just plain
ignorance). There's no use for a list; there'd be as many such lists as
there's people who are picky about some detail and think their opinion
is representative.

  Yeah, my own list had 100 annoyances.
 But then, I also had my own language which fixed ALL OF THEM, and did a lot more.
And it would be good (for all) if "fir" would just use your language,
and stop all the whining.

 With C, I first tried creating a thin syntax wrapper, transpiled with a 300-line script into standard C, but this only dealt with a fraction of them, and required code to be written in a certain way (to avoid needing a full lexer).
 The thing is nobody here can fix it for you.
 So, if you don't want to do this work yourself:
 * Use C even if it is annoying (it sounds like there are lots of things you could do but aren't aware of them, so learn the language better).
Check.

 * Switch languages. Most modern ones allow out of order functions (use a function before it is defined; no declaration needed), plus have lots of other features
Check.
Janis

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