Sujet : Re: Command line globber/tokenizer library for C?
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.lang.cDate : 12. Sep 2024, 16:30:26
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vbv1ei$aisk$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 12.09.2024 16:04, Bonita Montero wrote:
Am 12.09.2024 um 14:20 schrieb Janis Papanagnou:
I don't know of the other poster's solutions. But a quick browse seems
to show nothing incomprehensible or anything that should be difficult
to understand. (YMMV; especially if you're not familiar with C++ then
I'm sure the code may look like noise to you.)
C++ shared a property with C: The language facilties are mostly that
simple that it's easy to roughly imagine the resulting code. So C++
can be written with the same mindset.
Not only "roughly imagine"; I think the imperative languages have
so many common basic concepts that you can have a quite good idea,
especially if you know more than just two or three such languages.
But there are features, even basic ones, that are not existing in
"C" thus making especially folks who are focused to some specific
restricted or poorer language(s) obviously get confused.
Yes, C++ can be written with a "C" mindset. But this is nothing
I'd suggest. Better make yourself familiar with the new concepts
(OO, genericity, or even simple things like references). - IMO.
Janis