Learning C language importance C language Advantage Analysis, importance
More than one student asked me, "Teacher, why should we learn C language instead of other languages in application design? Isn't the C language outdated? If you want to write a Windows program, how fast is it to be developed using VB or Dephi? Can you use C? Step 3: Why C instead of C ++ ?"
This question is not completely answered. To put it simply, C language is the foundation of computer programming language and a practical programming tool. Learning C language well will lay a good foundation for you to learn JAVA, C ++, and VB in the future, most of these languages are extended or derived from the C language. C can be used to develop underlying things, such as drivers and communication protocols. It is also indispensable in Unix and Linux environments, and has a great deal to do in the embedded field.
From the perspective of this major, although information management does not have as high requirements on programming as a computer Major, if you do not understand C, it is basically difficult to understand the idea of programming, if you really want to learn program design, you won't be able to deal with the data structure. If you are a beginner, start with VB or Java, it is basically difficult to understand how to construct arrays, linked lists, trees, graphs, and other structures. These things can easily fight with concepts such as encapsulation and inheritance. In C, they can be clearly expressed. Only by truly understanding the data structure can we have the opportunity to experience the idea of program design and the essence of algorithms.
So why do so many people think the C language is outdated? The reason is very simple. More than 90% of Chinese people learn Windows and use Windows to think that non-graphics are not good. Many opinions on the Internet are doubtful. Java and C # are popular nowadays, and programs written in C language do not have friendly user interfaces. However, if a problem can be solved without graphic interfaces, why is it so complicated? Imagine if a piece of information could tell you what the current time is, why should you turn over the alarm to see it? The mentality of the Chinese people is always impetuous, and everything is like "How fast and easy". Unfortunately, after all, it is "standing on the shoulders of giants" to see the problem, it seems that we can't do anything without Microsoft's development tools ).
Therefore, the necessity for learning C language is clear: C language is basic (but not simple ). People outside China use the C language to deal with practical problems, and we are still using it to Polish our own impetuousness. Therefore, we are far away from foreign countries, but we are not unattainable.
Of course, if you want to develop graphical interfaces on Windows, it is much better to use MFC, C #, and Java than C. The size is short and the size is small. Each language has its own application field. C is not omnipotent, but it is absolutely impossible to become a programmer without understanding C.
As to why C rather than C ++ is selected, it is because our training program cannot provide sufficient hours. If you want to learn C ++ well, it is not enough to study C ++ in less than 100 hours. However, the C language we choose now only has 44 hours of theoretical teaching time. In the face of such a rich and colorful C world, i'm already quite confused. I have to rely on my students to learn a lot of basic content. Why can I expect C ++?
Every programmer should learn the C language in their programming career, because it has many benefits that cannot be ignored. In addition to providing you with more job opportunities, the C language will also teach you more about computers. It provides us with the following benefits:
1. Compared with other programming languages (such as C ++ and JAVA), C language is a low-level language. In general, low-level programming languages allow you to better understand computers.
2. device drivers and operating systems can only be written in C language. Now, you may have never written a device driver or an operating system, but what if you need to modify them?
3. What if you want to write a Microcontroller program? They are all written in C language. Just because you don't want to learn a new language, are you ready to limit your job opportunities?
4. C programs implement the same functions than programs written in other languages. It uses fewer lines of code, but it delivers faster running efficiency. Sometimes, only the C language can speed your program needs.
5. If you have learned C language, you can learn any advanced programming language. Because all advanced languages are based on C Language (such as JAVA, C ++, C #, and so on ).
6. Since the C language has been around for many years, it has been widely used in groups and has a large number of ready-to-use code available. This allows you to quickly and efficiently compile new algorithms and functions based on previous programs.
7. C language is an open source organization language. LINUX, a product of an open-source organization, is written in C language. If you have a C language, you can join this Organization and contribute to a large number of open-Source organizations, such as participating in Source Forge and contributing to them.
8. C language is the only language that describes the essence of pointers to you. C # and Java simply skip the pointer question. However, pointers make the C language more powerful.
9. When looking for programming and development work, C language is still the most commonly needed language. So it is worth your time to learn it.
10. Any device with a microprocessor in it supports C language. From the microwave oven to the mobile phone, it is promoted by the C language technology.
11. Well, after talking so much, we should feel the necessity and urgency of learning C language! Learn it now! Make it a step towards achieving greater success!