Why study C language C language advantage analysis

  • 2020-04-02 01:12:25
  • OfStack

More than one student asked me, "teacher, why do we have to learn C for application design and nothing else? Isn't C obsolete? If I were to write a Windows program now, how fast would I develop it with VB or Dephi? How about C? At the very least, why C instead of C++?"

It's a short answer to this question. In short, C language is the basis of computer programming language, is a practical programming tool, learn C language for your future learning JAVA, C++, VB can lay a good foundation, because most of these languages are from the C language expansion or derived. C can be used to develop lower-level things, such as drivers, communication protocols, and the like, which are also essential in Unix and Linux environments, and can be useful in the embedded world.

Standing in the professional point of view, although the information management as to the requirement of programming the computer professional is so high, but if you don't know C, basically, it is difficult to understand the thoughts of program design, because want to learn programming could not deal with the data structure, and beginners if direct from the VB or Java, basically it is hard to understand how to construct an array, list, tree, graph, such as structure, these things are very easy to fight with concept of encapsulation, inheritance and so on. But in C language, we can express them clearly and clearly. Only when you truly understand the data structure can you have a chance to experience the essence of the programming ideas and algorithms.

So why do so many people still think C is obsolete? The reason is very simple, more than 90% of the Chinese people study Windows, use Windows, they think that either graphics or bad. There is a lot of skepticism on the Internet about the popularity of Java and C#, the lack of a user-friendly interface for programs written in C, and so on. However, if a problem can be solved without a graphical interface, why make it so complicated? If a message can tell you what time it is, why bother turning over the alarm clock? Chinese people's mentality is always very impetuous, what things want to "how fast and save", but ultimately is "standing on the shoulders of a giant" to see the problem, they can not grow a giant (seems to think that without Microsoft's development tools, we can do nothing).

      So the need to learn C is clear: C is basic (but not simple). People abroad use C language to deal with real problems, and we are still using it to polish our impetuousness, so we are still far from the level of foreign countries, but not out of reach.

Of course, if you want to develop graphical interfaces on Windows, using MFC or C# or Java is much better than C. Every inch has its advantages. Each language has its own applicable areas, C is not omnipotent, but want to become a programming master, do not understand C is absolutely not.

As for why we choose C over C++, it is because our training program cannot provide enough class hours. Want to learn fine C++, no 100 class hours is not enough, and we now choose the C language only 44 class hours of theoretical teaching time, in the face of such a rich and colorful C world, I have been quite strong have not caught, many basic content have to rely on students to learn by themselves, which can also expect C++ ah?

Every programmer should learn C during their programming career because it has too many benefits to ignore. In addition to giving you more job opportunities, C will teach you more about computers. The benefits it can provide are briefly listed as follows:

1. Compared with other programming languages (such as C++ and JAVA), C language is a low-level language. In general, low-level programming languages can give you a better understanding of computers.

2. Device drivers and operating systems can only be written in C language. Now, you may never have written a device driver or an operating system, but what if you need to modify them?

3. What if you want a job writing a microcontroller? They are all written in C. Are you prepared to limit your chances of getting a job just because you don't want to learn a new language?

4.C's program performs the same function as other programs written in other languages. It USES fewer lines of code, but it runs faster. Sometimes, your program needs speed that only C can achieve.

5. If you've ever studied C, you can learn any of today's advanced programming languages. Because all high-level languages are based on C (like JAVA, C++, C#, and so on).

6. Because C has been around for many years, it is widely used by the community and there is a lot of off-the-shelf code to work with. This allows you to quickly and efficiently write new algorithms and functions based on past programs.

7.C is the language of an open source organization. LINUX, the product of an open source organization, is written in C. If you know C, you can join the organization and contribute to a number of open Source organizations, such as Source Forge.

8.C is the only language that explains the nature of Pointers to you. C# and Java skip Pointers altogether. But Pointers do make C more powerful.

9. C is still the most commonly needed language for programming and development jobs. So it's worth your time to learn it.

Any device with a microprocessor in it supports C. From microwave ovens to cell phones, it's all driven by C technology.

11. Well, with all that said, we should feel the necessity and urgency of learning C language. Then learn quickly! Let it be our ladder to greater success!


Related articles: