News for hackers. Stuff that matters.
Re:*(char*)0 = 0; - What Does the C++ Programmer Intend with... by pjmlp on Wednesday October 18, 2023 @02:56AM (#37925569)
That surgeon has undergone several years training, had to go through an exam to be allowed to practice, and is submited to yearly evaluations if they are still allowed to touch that scapel.

I would agree the same for developers, if similar practices would be enforced everywhere instead of having people calling themselves enginners just because they like how the word sounds.

Re:*(char*)0 = 0; - What Does the C++ Programmer Intend with... by kortilla on Wednesday October 18, 2023 @03:47AM (#37925920)
Yet surgeons killed people all of the time and had to be forced to use checklists because it turns out credentialism doesn’t prevent mistakes.
Re:*(char*)0 = 0; - What Does the C++ Programmer Intend with... by pjmlp on Wednesday October 18, 2023 @05:00AM (#37926337)
Which is also something that we need to add as well, on top of credentialism.

More quality and process validation, less cowboy programming.

Re:*(char*)0 = 0; - What Does the C++ Programmer Intend with... by kortilla on Wednesday October 18, 2023 @08:39AM (#37927760)
And skip the credentialism, because that’s generally bullshit.
Re:*(char*)0 = 0; - What Does the C++ Programmer Intend with... by pjmlp on Wednesday October 18, 2023 @08:55AM (#37927911)
Not at all, that is a guarantee that people actually know how to hold the scapel and can enter the operating room safely.

A brick layer doesn't turn into a Construction Engineer, only because they think they know everything about building houses, and have somehow built their own during long weekends.

Likewise a coder out of a bootcamp, isn't someone versed in what actually entails to be a Software Engineer, regarless how cool the title might sound like.

Re:*(char*)0 = 0; - What Does the C++ Programmer Intend with... by kortilla on Wednesday October 18, 2023 @09:02AM (#37928032)
No, it’s not a guarantee, it’s just a noisy filter with a very high false negative rate and a high enough false positive rate (as visible in malpractice insurance).
Re:*(char*)0 = 0; - What Does the C++ Programmer Intend with... by pjmlp on Wednesday October 18, 2023 @03:33PM (#37933624)
I certainly is, those numbers would be much higher without that filter.
Re:*(char*)0 = 0; - What Does the C++ Programmer Intend with... by kortilla on Thursday October 19, 2023 @10:25AM (#37943347)
I don’t think you know what “guarantee” means. If it was a guarantee, malpractice insurance wouldn’t exist.