After learning Python, will it be easier to learn Java?

Source: Internet
Author: User
0 reply content: it is easy to learn Java. As long as you have experience in C, C ++, Python, or C #, learning Java is just familiar with syntax. Especially those who come from C or C ++ will obviously feel a much lower load on memory management, this is also the reason why Joel Spolsky threw out Java-it is not suitable for beginners to use languages that do not need to be mastered by pointers.

Of course, it is easy not to write Java. Java is very studious and easy to write. This is the fate of anything with a low entry threshold. In C ++, you don't take memory management seriously. What you get is a segment error or core dump. in Java, the JVM is used up to clean your ass, the memory used up in C ++ has become an endless GC.

In general, the Java language itself is only the tip of the iceberg. The biggest value of Java comes from the almost all-encompassing library. If you do not know Guava, Spring, or persistence, actually, Java is not learned.

From this perspective, it is simple and difficult to learn Java. The simplicity lies in its simplicity. It is much easier to learn Java based on programming (such as python, however, it is difficult and difficult to write high-quality Java programs, with both python flexibility and performance no weaker than C ++. After learning Python, I don't think you will be willing to write Java again. You will think Java is so complicated. It is easier to learn another language after learning any language. After the syntax of any language is passed, you can quickly master the syntax of another language in a short time. It was previously a Java fan. After learning Python, it turned into a Java black. One of the students in our class learned Python, saying that they didn't want to use a language with braces after learning it. Java is a language that is very object-oriented (not fully object-oriented) and is widely used by many people. It is suitable for learning first. Especially after learning Java, it is easy to learn other object-oriented languages, such as Scala. I don't know much about Python, but I feel that this language is not very popular in China, and resources are rarely seen. Having mastered one language and learning another language, it should be said that it is very helpful. After all, many programming concepts are the same.
However, if you cannot learn it, It's just half a bucket of water, but it will affect your life by learning a new language. Use python. The design concept and original intention are different, but you can regard them as substitutes for C ++ and Perl. What else do I learn about java?

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.