News for hackers. Stuff that matters.
Re:All C++20 core language features with examples by ncmncm on Wednesday April 07, 2021 @06:26PM (#26732287)
"It is a poor craftsman who blames his tools."

This is a common saying because it is a common occurrence.

People who use the language effectively know all about the complaints. Those people live with their complaints knowing no other language even comes close to meeting their needs. No language on the horizon is even trying to meet their needs.

C++ usage is still growing by leaps and bounds. Attendance at ISO Standard meetings is soaring; until Covid19 killed f2f meetings, each had more than any meeting before; similarly, at conventions. Even the number of C++ conventions held grows every year, with new national ones arising all the time.

Rust is having a go at part of the problem space, and making some headway. But more people pick up C++ for the first time in any given week than the total who have ever tried Rust. It is still way too early to tell whether that will ever not be true.

So the HN trend is very much an echo-chamber phenomenon, with no analog in the wider world.

Re:All C++20 core language features with examples by oblio on Thursday April 08, 2021 @04:18AM (#26736329)
> "It is a poor craftsman who blames his tools."

> This is a common saying because it is a common occurrence.

Ha ha. This is not applicable for software, and I assume, for some craftsman.

What's the percentage of software developers that actually get to choose their tools? 40%? 60% at best? Though most likely it's just 20%.

Most projects are pre-existing, it's only natural. You can't create more projects than those already in existence, once a field matures a bit. Which means that you have to use what's already there.

Plenty of people are forced to use bad tools. And they can for sure blame them.

Re:All C++20 core language features with examples by ncmncm on Thursday April 08, 2021 @06:34AM (#26737145)
Many craftsmen do not get the tools they could wish for.

Your craft is your personal responsibility; you use your tools, they don't use you. So, your product is the result of what you do, not what your tools do. Limitations of your tools leave you with greater responsibility to ensure results that satisfy whatever standard you work to.

Blaming your tools for bad results tells people much more about you than about the tools.

Re:All C++20 core language features with examples by oblio on Thursday April 08, 2021 @07:04AM (#26737310)
First of all, we are not craftsmen. We are more like factory workers. Ford factory worker #515 had no say in the 1000 ton machine just installed in the factory. He just had to make his part of the car.

We delude ourselves into thinking we're all Picassos when we're just house painters, at best.

Re:All C++20 core language features with examples by ncmncm on Thursday April 08, 2021 @02:38PM (#26742198)
That also is a matter of choice. Curiously, the more you get paid, the more latitude you get.
Re:All C++20 core language features with examples by smolder on Thursday April 08, 2021 @02:30PM (#26742096)
It'd be more accurate to say not many of us are craftsmen. (Craftspeople?) There are still some ways to make money by through creative, open ended development, they've just always been on the rare side.
Re:All C++20 core language features with examples by kyawzazaw on Wednesday April 07, 2021 @07:58PM (#26733217)
As long as trading firms use C++ and some research places, it won't go away.

These places also have all the resources as well.

Re:All C++20 core language features with examples by jupp0r on Wednesday April 07, 2021 @08:25PM (#26733464)
Trillions of lines of existing code are also a strong argument of why C++ is going to stay for a while. Lot's of good C++ programmers I know would be really excited to use Rust, but the interop with legacy systems is not worth it for many use cases.