初学者,你应当如何学习C++以及编程(2)
So, I recommend people to think in terms of class invariants, exception handling guarantees, highly structured resource management, etc. I should add that I intensely dislike debugging (as ah hoc and unsystematic) and strongly prefer reasoning about source code and systematic testing.
Pros: flexibility, generality, performance, portability, good tool support, available on more platforms than any competitor except C, Access to hardware and system resources, good availability of programmers and designers. Cons: complexity, sub-optimal use caused by poor teaching and myths.
顶(0)
踩(0)
上一篇:体验C++中接口与实现分离的技术
下一篇:c++中虚拟函数就实现多态性
- 最新评论
