Home  >  Article  >  Backend Development  >  Why do domestic universities generally offer c/c++ as a required course, but rarely offer python or php?

Why do domestic universities generally offer c/c++ as a required course, but rarely offer python or php?

WBOY
WBOYOriginal
2016-08-10 20:01:361944browse

Reply content:

Because Tan Haoqiang’s red book is not dead yet, and the computer level 2 is not dead yet. After all, universities are not places like Lanxiang Technical School or Beida Jade Bird. Teaching programming mainly teaches the principles, and C is more suitable. And the teachers are mainly from teaching C background. In subsequent courses, you will not encounter any difficulties when talking about microcomputer principles, operating systems, and embedded programming. Thanks for the invitation.
When I was studying, it was obvious that learning from C to C++ can help students understand the development of programming languages ​​from process-oriented to object-oriented, and it is a good training for the conversion of thinking modes, as well as understanding the underlying principles and design of software. Logic, that sort of thing.
Well, another point is that it would be a headache to keep producing new textbooks to keep up with the times, both in terms of cost and time. Therefore, most of the existing textbooks are still simply adding new things and then replacing them. Shell has made a new version. Because C is relatively basic, there is another way that C is better used for programming mathematics problems. Mit's Introduction to Computer Programming has been taught in Python. Because the purpose of teaching and the purpose of doing projects are completely opposite. The purpose of teaching is to let students step on as many pitfalls as possible. The more they step on, the faster they will improve. When working, try to avoid pitfalls, and it is best to do a snap-finger project. That’s it.

C language is obviously lower level
Lower level means that many functions have to be implemented by themselves. During the implementation process, students will have a further perceptual understanding of the details of the underlying hardware, operating system, and algorithms. Teaching a language can also be connected I learned a lot of other knowledge, and its practicality in society is not low. There is no better person to explain it to than C.
I don’t know much about C++, but I feel that this language has many and complicated features. Once you have mastered C++, you can start working on other high-level languages. It’s all a piece of cake.

Scripting languages ​​​​such as python and php are highly encapsulated languages, which are too "sweet" for students and are not as helpful for growth as C/C++
    Computer science in many universities does not only cover coding, but also for the power of C/C++, you can look at Toibe. C can be regarded as the best practice of von Neumann structure.
  1. I don’t know if there were any words in the textbooks when the subject was in college:
  2. "Twelfth Five-Year Plan" (or "Eleventh Five-Year Plan") General Higher Education Undergraduate National Planning Textbooks. Here is the editor (the age should be Not too young) Starting with the textbook itself, it’s all about business, and it’s normal to be out of touch.
  3. C is process-oriented. It’s taught less now.
Most people teach C++ now. C++ is object-oriented, and this language is quite good. I thought it was useless to use Python as an introductory textbook. C is not necessary or unlearnable, it can be learned by those who are willing to learn further.
Everyone says that if you can’t understand C, why should you learn CS? I agree. But the title didn’t say it was CS. Take my own surroundings as an example. In the management category of the business school, there are half a year of computer science and half a year of information technology basics in the first year of admission. Tan Haoqiang’s Little Red Book talks about pointers until the end. All the liberal arts students and a group of science students had no interest in understanding it. Their back-up scores were quite high, but they have completely forgotten about programming since then. For those who do not major in CS, it should be more meaningful to understand computer programming and learn to use it.
I have been reading "A Dream of Red Mansions" and "Advanced Mathematics" since elementary school. After reading it, I will definitely have a deeper understanding of literature and mathematics. Self-study of elementary mathematics and "Ode to the Goose" is enough. But is this how we got here?
I learned C first and now my life is pretty good. For example, the students in Jiangsu struggled for three years to get into university. I feel that it was helpful to have a difficult test before, but this does not mean that our path is a dead end. Getting started with C C++, the rest is self-study.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn