我觉得C++设计成这个样子就是想提供很多选择,只不过用不好就会比C带来更多问题。C++的主要问题是标准委员会越来越高估普通码农的水平,搞出来一堆普通人用不好的东西,不如扎扎实实把标准库做好,在标准库里尽量减少出错的机会。
【 在 hgoldfish 的大作中提到: 】
: "LOL," was his response. "C++ solves _none_ of the C issues, and only makes things worse. It really is a crap language.
: "For people who don't like C, go to a language that actually offers you something worthwhile. Like languages with memory safety and [which] can avoid some of the dangers of C, or languages that have internal GC [garbage collection] support and make memory management easier.
: "C++ solves all the wrong problems, and anybody who says 'rewrite the kernel in C++' is too ignorant to even know that."
: ...................
--
FROM 123.112.66.*