Do I need to learn other languages (such as C) before learning PHP? If necessary, when is the contact more appropriate?

Source: Internet
Author: User
I also want to learn Python. I also want to learn Python. Reply content: personal opinion:
No matter what language you want to learn, if C learns well, it will be of great help to you,
Therefore, it is very correct for universities to take C as an inspiration.
I have learned a lot about PHP. After two or three years of work, I went back to C-related books. Don't listen to others, just learn it directly. You may need to learn HTML and JavaScript together.

In extremely special cases, C is required first, and Python is not required.

Of course, simply learning PHP does not require C as the basis. Like @ Zhang jiangge, there is no harm in learning other things. A very personal point of view: Learning Python, PHP, and C will not be harmful.
One thing I do not agree with is that some people think of language learning as an investment and must consider it carefully for fear that if they learn more than one course, they will lose money.
In fact, different languages are not just syntax styles. each language has its own design ideas, especially the three mentioned above, which are very representative:
  • C language: According to the Unix programming art, it is a very thin abstraction layer of assembly. Is the representative of underlying programming and minimalism.
  • PHP: The entire language is developed for Web development, from which you can learn about the association of HTTP protocol in applications. At the same time, in terms of object-oriented, PHP's object model is a copy of Java, and you can learn the narrow object view of Java.
  • Python: You can learn the skills to improve code readability and a broad object view similar to ECMAScript.
The learning of these languages is not sequential, but if you start learning, you may find that data structures, algorithms, design patterns, and architecture patterns are the cornerstone of writing code. Theoretically, no other programming languages are required. C language as the basis, it is recommended to learn, python can ignore, unless using php for background applications, js still needs to learn. You can ignore it and get started with PHP directly. If you don't want to simply use it, @ Zhang jiangge's answer is very objective. My question has been modified ............ It's completely changed. My problem was that when I was learning PHP, not before

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.