4 ms·
Maybe a better metaphor would be C is a car with a knife pointing out of the steering wheel. The fact that it's dangerous makes the person drive safer and more
by Spivak 10y ago
Maybe a better metaphor would be C is a car with a knife pointing out of the steering wheel. The fact that it's dangerous makes the person drive safer and more cautiously.
- marssaxman 10y agoNah... C is just a motorcycle. Primitive, zippy, dangerous, loud, and fun. People who don't ride don't understand; people who do ride are OK with the risks they're taking.
- DerekL 10y agoIt's a often repeated idea that the dangers of making mistakes with C code will scare the programmers into writing correct code. This completely fails in my experience. I've worked on large C projects that suffered a ton of leaks, free-after-use, buffer overruns, etc.
- user5994461 10y agoCorrection: use-after-free