Sujet : Re: technology discussion → does the world need a "new" C ?
De : bc (at) *nospam* freeuk.com (bart)
Groupes : comp.lang.cDate : 12. Jul 2024, 19:13:40
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v6rrok$34t3j$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
User-Agent : Mozilla Thunderbird
On 12/07/2024 13:36, David Brown wrote:
One person's private sort-of-C compiler is of no more relevance to the C community than one person's private language. You are welcome to make as many non-conforming changes to your own tools as you like, but they do not make a difference to C. No one else will ever use your tool, so no one else will ever care about any incompatible changes you make to it. If /you/ are happier having such changes in your tools, then that is great for you.
Jesus, you just can't resist putting the boot in at every opportunity and being incredibly patronising, can you?
I made the tweak to see how hard it would be to detect value-arrays declared in parameter list (it was very easy), and what the consequences would be on existing code (significant).
The example I posted showed a type (const char* x[]) where there was no advantage to having that value array notation. Using 'const char**' would be a more accurate description of the actual parameter type.