梁 兄

QQ: 160216918 QQ群: 26678700 MSN: lb_bing@hotmail.com

  C++博客 :: 首页 :: 联系 :: 聚合  :: 管理
  52 Posts :: 5 Stories :: 355 Comments :: 0 Trackbacks

        [From: http://www.jubuu.com/?id=13]

  1. C is not an object oriented language. Because of this, anyone who learns C has to learn to think functionally. When you do learn object oriented programming, you will have the base of C functional programming to go by. This will make learning object oriented programming easier and more enjoyable.

     

     

  2. Writing programs in C is like a mental exercise. You must take care of everything that many other languages take care of for you. You must manage your pointers, your memory allocation, and your memory deallocation. You have to figure out how you will to handle strings, and dynamic data. In other languages, all these things are hidden from you. You don't know how they work, nor can you change how they work. You trade in control and speed, for ease of use. In many cases, this is a valuable tradeoff. In other cases it is not.

     

     

  3. For different situations you will use different languages. Some situations will call for Lisp, others for Java, and still others for C++. But your solid foundation will be C. You may not use it to program certain projects, but it will assist your ability to skillfully program in other languages.

     

     

  4. Programs generated with C code are smaller and faster then programs generated from any other type of language besides Assembly. Why not learn Assembly then? Assembly is a beautiful language that can be very useful to learn, but it is not as portable as C, and popular languages like Java are based on C syntax, not Assembly. You should still learn Assembly at one point, but it will not prove as useful to you as C will.

     

     

  5. If you ever want to write a video game engine or an operating system you will need C. You can't use C#, Java, or Basic for these type of programming tasks.
posted on 2007-12-13 09:07 梁-兄 阅读(472) 评论(0)  编辑 收藏 引用 所属分类: C/C++