On Wednesday, December 14, 2022 at 8:22:12 PM UTC+2, David Brown wrote:
> On 14/12/2022 17:35,
Mut...@dastardlyhq.com wrote:
> > On Wed, 14 Dec 2022 05:56:36 -0800 (PST)
> > Michael S <
already...@yahoo.com> wrote:
> >> On Wednesday, December 14, 2022 at 11:40:11 AM UTC+2,
Mut...@dastardlyhq.com
> >> wrote:
> >>> And on MacOS there's Swift which is supposed to be a better Objective C.
> >>> Frankly it couldn't be much worse. Why Apple don't just use modern C++ and
> >>> get all the benefits not to mention experienced devs on board is anyones
> >> guess.
> >>
> >> May be, because modern C++ is not particularly good language for 99% of
> >> programming tasks?
> >
> > I think you're in the wrong newsgroup. Python groups are that way ---->
> >
> Maybe he thinks no one language is ideal for more than a few percent of
> programming tasks? Maybe he thinks C++ is not good for 99% of
> programming tasks, but the tasks /he/ does are in the 1%?
Actually, I think that C++ is either good or not bad for far more than 1%,
may be, for above 5% of programming tasks. But in the post above I wrote
specifically *modern* C++. My opinion about *modern* C++ and programming
practices that accompany it is not particularly favorable.
It does not mean that I don't like every single bit that was added to the language
in C++11 and later. I do find several new libraries quite useful even if for
some of them I'd personally prefer the same functionality presented in less
modern AP style.
Even 'auto' discussed is other thread, is not universally harmful, even outside
of templates.
> Maybe he has
> no choice but to use it despite it not being ideal? Maybe he likes C++
> and uses it because he likes it, even if it is not good for the task in
> hand? Maybe he thinks C++ is not particularly good, yet better than all
> the rest?
May be, use C++ because I am conservative?
May be, even when I learn a new language, like C# or Go, but do not use
it day in day out, I forget what I learned too quickly?
May be, it's my age telling?
>
> There's lots of reasons to be in a C++ newsgroup and to use C++ even if
> you think it is not a great language. I think most of the programming
> done in C would be better done in other languages, and that most of the
> people who program in C would be better off in other languages - but I
> still enjoy C and write a lot of code in C and frequent comp.lang.c.
C is better than its reputation.