Do I need to learn C language before learning Python?

(*-*)浩
Release: 2019-07-06 10:35:16
Original
5410 people have browsed it

Which language is better to learn first? I think it depends on different people.

Do I need to learn C language before learning Python?

#For college students majoring in computer science, I think it is better to learn C language first. (Recommended learning: Python video tutorial)

At present, most computer-related majors in domestic colleges and universities should use C language as the introductory language to learn. This set of learning routes It has been maintained for many years, and of course there is a reason for it.

And for college students, there is no requirement to participate in the development of actual engineering projects as soon as they enroll, and there are no urgent needs or tasks that need to be completed immediately with programs, so you can definitely learn C language first. After understanding the basic data structure and computer composition principles, learning other languages ​​will be more effective with twice the result.

Python’s syntax is quite special and is strictly controlled by spaces. However, this is not good for people who are new to programming. After all, there are almost no languages ​​that use the same syntax as Python, so if you Mastering its language grammar first will have an impact on your future learning of other languages.

For those who are already working or are non-computer-related majors, I think you can consider learning python first.

There will be different suggestions. First of all, unlike college students, this group of people should have a clearer purpose in learning programming, or they should be more eager to see some small results. Otherwise, to be honest, it would be difficult to persevere.

It happens that learning python is very fast. At the beginning of learning, it can be used to process some text and some repeated calculations, and it will soon find some use. After getting more familiar with it, you can develop web applications, write data capture, etc.

However, basic data structures and computer composition principles need to be understood in any language, otherwise you will never know more than a little bit.

Learning C language is difficult but python is easy, but learning C language first can lay a better foundation. After all, to be a programmer, you can't just know one language. Most programmers need to know at least three languages.

For more Python related technical articles, please visit the Python Tutorial column to learn!

The above is the detailed content of Do I need to learn C language before learning Python?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template