On Thursday, 18 November 2021 at 09:28:08 UTC, forkit wrote:
On Thursday, 18 November 2021 at 06:54:33 UTC, Paulo Pinto wrote:
C folks like to manage their own memory and they get it wrong most of the time.
god help us all, if that assertion is true.
It is. It always has been, and decades and many tools later, it still is. This isn't a matter of opinion, it's provable fact.
(which of course, it's not).
Huge if true.
'some of the time', sure, even the best, but 'most of the time'..
All of the time, if one only counts projects of a certain size and up. Of course it's trivial to get it right in a 50 line program.
that is hyperbole - except perhaps, in the case of novices.
Is Walter a novice? Am I? Is Andrei? Is <insert name here>...?
I have no idea how or why this myth of the "sufficiently competent C programmer" persists. They don't exist.
The tools we have available these days, to assist C programmers, is something to factored in when speaking about the C language.
I've used them.
btw. C powers the world.
So does burning coal, but I wouldn't recommend that either.