Spit slots for 5 major programming languages

Source: Internet
Author: User

Admittedly, wanting to be a good programmer is really a need to master a variety of programming languages. Through these years of self-abuse learning, I also slowly mastered these programming languages. Ghosts know how painful this process is, but also because of them, I get more chances than others. Next to everyone, introduce five I love and hate programming language!

1.C language

C language to People's feelings, is a mysterious and high-cold girl image. This is because C language is more difficult than other programming languages, which is a bit more mysterious, whenever thought close to it, it is cruel to push away! The Cruel c! language! Statements were

The reason why the C language cannot be rejected: UNIX is written in C and runs on most phones and most cloud environments, which means that someone must continue to develop with the asterisk and curly braces, otherwise none of this will be a continuation. In addition, there are device drivers, embedded programs, and maintenance of the Linux/unix code base--Well, this sad topic ends here.

Next turn to the most happy link, to! Open! Began! Spit! Slot! As the "Portable assembly language" title of the C language, absolutely full of problems! Believe that no one would like to write, a large number of independent header files, but also few people can use the pre-processor to maintain peace of mind.

In theory, we should be able to use the mathematical ability of pointers to accomplish incredibly intelligent feats, but few people can transcend the existing data structures. In fact, tinkering with pointers is often the starting point for code crashes. Even if you can easily handle pointers at your own level, you'll need to write lengthy notes to keep track of them, which is pretty crazy. In addition, I would like to ask you, a few people can remember to write C code should follow all the best practices? For example, to avoid all potential security breaches, well, I'm not very good personally.

2.JavaScript

JavaScript gives the impression that a pessimistic female image. Why do they say that they always wrap themselves with braces, brackets and curly braces?

The reason why JavaScript can't be rejected: the Internet and countless browsers still stick with JavaScript, and the advent of node. JS even forces us to use JavaScript on the server side. JavaScript will continue to torment us, at least for the foreseeable future.

Next turn to the most happy link, to! Open! Began! Spit! Slot! Haha ~javascript builders want to create a modern language. Unfortunately, their results forced us to use parentheses, brackets and curly braces to do the right nesting. Anonymous functions, closures, and JSON data structures make our little finger more and more developed.

In addition, we need to pay attention to a lot of strange details. If x is a string containing the character 1, then x+1 will produce a string of 11, and X-1 will produce the number 0. Who will remember the difference between false, NULL, Nan, and undefined? They sound alike, but why does JavaScript have to differentiate this? Why can't we just merge them together?

3.PHP

PHP gives the feeling is a simple and well-behaved girls, as for the reason PHP is more simple than other languages, PHP performance is good enough, hot deployment, easy to modify, we don't have to bother about it ~

PHP is not really a computer language, but rather a tool for adding intelligent mechanisms to static HTML. You can store information in a database and match it to a static label. While there are more features, the basic role of PHP in general is to glue the strings that we extracted from the database.

But controversy is controversial, and most of the web is still built from PHP. In WordPress, Joomla, and Drupal, most of the content is delivered via PHP code. In addition, Facebook was written by PHP. Fortunately, the hiphop Virtual machine created by Facebook inspired Zend, and PHP 7.0 was born. These new PHP engines are usually faster, but it also means that we still have to live in the shadows of PHP in the future.

4.Java

Java gives me the impression of a sloppy genius type girl. The concept of virtual machine and library can be traced back to the 90 's, but the grammar appeared with C language as early as the 70. Automatic memory management looks beautiful until the disgusting garbage collection mechanism destroys it all.

Java programmers have been complaining about this, and part of it has really been solved by Oracle. However, the process of settlement has brought about new problems. Some of the new Code and libraries cannot run on legacy virtual machines. I've been through this, and in fact every version after Java 1.4 is like a completely different language.

But none of this matters. Java is the cornerstone of web and mobile phones, and it is the first language taught in universities. The code base is bigger and more valuable than any other language. What can we do? Bear with it.

5.Python

Python gives me the impression of an adorable Lolita girl. This is a modern language suitable for young people to learn. It rarely uses punctuation, so the code looks more concise. What's the problem? First, there is a huge difference between Python 2.7 and 3.0. Although development is necessary, it is undoubtedly easy to pull an egg with too much stride. We always need to focus on which Python version is used on the current device, and carefully count all code indents, braces, spaces, and so on.

Similarly, these complaints have no meaning. Python has a large audience, especially a "soft science" group. Biologists and economists see python as the strongest language, and some even suggest adding Python code to Notes on stocks and bonds so that bankers can read the real meaning in Python-and not be fooled by the lawyers ' crooks.

The good news is that reading Python code is really easier than reading a legal document. It's progress, and it's a progress we can't resist.

Python Learning Exchange Group: 125240963

Share to: Spit slots for 5 major programming languages

Spit slots for 5 major programming languages

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.