Sujet : Re: Command line globber/tokenizer library for C?
De : Bonita.Montero (at) *nospam* gmail.com (Bonita Montero)
Groupes : comp.lang.cDate : 12. Sep 2024, 14:58:44
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vbus2b$9k96$1@raubtier-asyl.eternal-september.org>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla Thunderbird
Am 12.09.2024 um 13:29 schrieb Bart:
On 12/09/2024 03:22, Bonita Montero wrote:
Am 11.09.2024 um 22:19 schrieb Bart:
>
C++ is a simpler language? You're having a laugh!
>
The solutions are simpler because you've a fifth of the code as in C.
>
In this case, it actually needed somewhat more code, even if the line
count was half.
But your solutions are always incomprehensible because they strive for the most advanced features possible.
I don't use the newest feature to end in itself. I'm using this features
because they make sense. F.e. I use a lot of functional programming to
prevent vectors of return values. Instead I directly hand the data to
a callback. That's more efficient and more convenient.
And I use concepts to have meaningful errors when type-properties are
met. Maybe you think it's better to live with the errors from inside
a templated function; I think the errors which say which part of a
concept isn't met are more readable.