After learning the Python language to learn PHP JavaScript, these programming languages are better able to understand quickly

Source: Internet
Author: User
Tags case statement
After learning the Python language to learn PHP JavaScript, these programming languages are better able to understand quickly,

After having the Python foundation, it is easier to learn the PHP language comprehension.

I would like to study the two aspects of PHP JavaScript, my friend suggested that after I learned Python, and then to learn PHP will be easier to understand these programming languages

The great God give me a little advice, it is necessary to learn python to learn php?

I see that many universities are based on the Python language as the base language of the programming language

Reply content:

After learning the Python language to learn PHP JavaScript, these programming languages are better able to understand quickly,

After having the Python foundation, it is easier to learn the PHP language comprehension.

I would like to study the two aspects of PHP JavaScript, my friend suggested that after I learned Python, and then to learn PHP will be easier to understand these programming languages

The great God give me a little advice, it is necessary to learn python to learn php?

I see that many universities are based on the Python language as the base language of the programming language

Since you mainly want to study PHP and JS, of course, you should learn the two languages directly, rather than through other languages. In addition, Python uses indentation to indicate a block of statements instead of a generic {},python does not support the Switch/case statement, the trinocular operator (?:), the self-increment decrement operator (+ + ,--) and so on, and these are different from PHP and JS.

A lot of colleges start with C. If you have a clear goal, there's no need to detour.
Learning Python naturally helps to understand other languages, but understanding Python is not easy.
So there's no need.

Learn python and you'll always forget to write a semicolon.

In fact, learn Python can not learn PHP.

There is no need to learn Php,python and PHP are tied, and Python is more versatile. In addition to learning Python's experience to learn PHP a little help, if you want to take the PHP route, there is Java when the foundation will be better (when you learn PHP class that you can find, thank @eechen remind).

After learning Python, I found that PHP capable Python is capable (and well done), but that's not the case in turn.

There's absolutely no need to http://segmentfault.com/a/1190000002921312

If you get python, understand PHP JavaScript will certainly be a little faster.
But the reason for this is that you will have a programming language, understand the others will certainly be faster, not to say that Python and PHP JavaScript have any particular relevance, you will be any kind of programming language, you can understand PHP JavaScript will certainly be faster.
So, and then the egg.

What linguistics is good, learning everything else is the same ~
Like you are a martial arts master, has been using swords, and later let you switch to the knife ...
Don't you know how to do kung fu? You're going to be bullied by a little punk? haha ~

I think it will only let you in the use of JS and PHP when complaining, rely on, why this can not do?
For example, before JS can not take the variable as a dictionary key this thing really shock me to ...

Script language, Python history is relatively long, the library is also complete, Raspberry Pi is used as a teaching language, learning more convenient to digest
But compared to the two pieces of PHP and JS to learn how Python is good for learning these two lives, in fact, the author's intentions and skills.
If it's just a quick rough Web project, JavaScript front end/HTML5/CSS3 plus Php/node back end is sufficient.
If the author is based on the ability to understand the Python service container, fcgi,scgi and other specifications to learn PHP/JS has not been necessary.

After you have learned C + +, learning other languages can quickly understand all languages.

In fact, your question is still a bit biased, which people learn programming to learn a certain one or two languages ah?
Whether your question can be understood as, you want to attack web development aspect, so PHP and JS is necessary to learn and use widely.
Python can also do web development, it has been said, if you really learn python, it is irrelevant to learn PHP.
But if you haven't started to learn yet, I suggest you start with C, because PHP is the C-system syntax, and the PHP bottom is implemented in C. In the late, if the business needs, you may need to go deep into the PHP kernel, so C is still very necessary.
Then you can start learning PHP, because PHP is really simple. Why is it that old people spit out PHP, which is probably the reason. PHP is simple enough to have almost no threshold, and can quickly develop a more complete application. PHP is a lot of places to spit, but his flaws, if you do not need to consider the high concurrent database connection pool or the memory of these things, PHP is actually very good to take you into the web development of a language, and PHP is getting better.
JS is now more and more popular, some people say that JS is a full-stack language, learn JS a language is enough, both front and back can be done. Of course, JS is also very easy to get started, but it is not easy to go deep. And now node is not too stable, self-study most of the time in the tangle of NPM package why not loaded because of the version of the strange problem, so also can not optical JS. But JS is absolutely worth learning the language!
For your question, I suggest you first look at C, understand the list of pointers, such as arrays, and then learn PHP and JS

In fact, language is just a tool, in the work is the project that drives you to learn more technology.

According to your question, just to learn PHP js easier to learn python, so that is not a detour? If you want a language as a primer I recommend to learn C language.

So you don't just have to master the fundamentals of the computer program, and you don't complain about switching to the "best language in the world" for yourself.

I was a self-taught python, and now I'm better at tossing Android,java than Python (single-fingered language feature).

In my personal opinion, Python's language features are complex and flexible, but Java is more of a rule. The advantage of learning Python is not only to know object-oriented programming, but also to know the features of higher-order functions, decorators, generators, and so on, which you can basically see in JavaScript (yield this feature JavaScript seems to have recently joined), You don't get too dizzy when you learn JavaScript.

Python is really a relatively easy to get started language, learn Python to learn Php,js certainly can understand faster. In fact, it should be so, learn a language, and then learn other languages relative will learn to ease a little, can quickly understand, because the language is similar.
However, there are a lot of drawbacks in learning Python, which is to develop a lot of bad habits. As we all know, Python does not use a semicolon to break the sentence, so later to write another need to add a semicolon language, accidentally forget. And the conditions in a Python conditional statement can be enclosed without parentheses, which is also a bad habit. But Python syntax also has a good place, that is, without curly braces to represent the code block with indentation, so the general learned Python code will be very neat, indentation specification.

  • Related Article

    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.