4 ms·
> I'm baffled to keep hearing some people saying that manual memory management is okay when the evidence is this huge. It's a lot easier for someone to scoff a
by avinium 7y ago
> I'm baffled to keep hearing some people saying that manual memory management is okay when the evidence is this huge.
It's a lot easier for someone to scoff at memory bugs on an internet forum than it is to write memory-safe code.
- raverbashing 7y agoCorrect answer People need to "humble down" and see that if people keep falling into the same traps even with training, it's not as simple as "people sucks"
- johncolanduoni 7y agoWhat makes you think they don’t include themselves in the term “humans”?
- ziftface 7y agoThis seems self contradictory. If people keep falling into the same traps even with training, how is "this is a human limitation" not a reasonable conclusion?
- raverbashing 7y agoI don't see what are you reading there, but "this is a human limitation" is the correct conclusion Hence why we need languages that are better at memory management than C. It's ergonomics. In the same way you can't put a racing gearbox/clutch in a street car and expect everybody to deal with it. They won't.
- CountSessine 7y agoPeople need to "humble down" and see that if people keep falling into the same traps even with training, it's not as simple as "people sucks" The parent isn't saying "people suck" or even that "people who write memory bugs suck". They're saying that 'programmer machismo' sucks. Saying, "we don't need better tools, we just need better people, and I'm one of those better people," sucks. Closely related is saying, "manual memory management is hard, so I guess most programmers should use better tools. But I'm a really advanced 10x 'leet programmer, (in spite of how much of my code has wound up in CVE's), and I'm clearly capable of writing code using manual memory management because of my 'leet skills." It's one of the peculiarities of the field that we're completely ok with practitioners using dangerous tools and building techniques when better tools and techniques are available.
- raverbashing 7y agoYes, that's what I'm referring to -> 'programmer machismo' sucks
- rgoulter 7y agoThat comment isn't scoffing at people who write code with memory bugs. That comment is scoffing at people who think writing memory-safe code (in languages which allow programmers to easily write memory-unsafe code) is easy.