Battle of a programming language

Battle of a programming language

@Author:Runsen

I know a little Python, Java, according to their own ideas come fictitious.

status quo

Entered in March 2020, a new list of programming languages ​​freshly baked, TIOBE latest release of the March list of programming languages.

We can see from the list, the top three are Java, C, Python. Compared to last month, Python continues to rise to 1.85 to 10.11%, with 10.11% of the share ranked third.

, Such as Java, Python, JavaScript, C / C ++, Go, C # programming language for each of us to understand the use of relatively common programming languages.

"Difficult to reach" the face of a wide variety of programming languages, we have different opinions, each programming language has a meaning of its existence, the programming of the war never stopped, "war" imminent.

Family Civil War

Recently, programming languages family opened a "family reunion", are discussing TIOBEtheir rankings.

The following is a dialogue of family members.

Youngest Py: Recently, I can be powerful. From 2015, the beginning of artificial intelligence, everyone learn from me, basically I became the most invincible big brother.

Fourth of C ++: Oh yeah, youngest, you reptiles, data analysis, machine learning, deep learning, natural language processing coupled with your Django, flask and other Web development, even you have to occupy my PyQt QT GUI market, you are the rogue, which led me to become the fourth of the youngest.

Youngest Py: that you are too hard to write, and I'm learning a few minutes to get started, who told you so hard to understand, what is object-oriented, your hundred lines of code, I have a dozen lines to get, who you will learn, soon, I'm the boss, you are my brother.

Fourth of C ++ said to the boss Java: Big Brother, someone wants to seek the right to usurp the throne.

Boss Java: Now that era is indeed the youngest, now all the data analyst will only Python, all shouted: Life is short, I used Python. Blame data analysts programming level is too low, write to write to py the code is totally not learn other languages.

C contempt of her second child, said: even write Python too much, but also a guide package is up to Man, there is nothing remarkable. The youngest, saying what you've got when the boss, I did not dare to seek the right to usurp the throne.

Youngest Py: Why do not we race with, and now look at me some more developers need more than the first or boss.

Boss Java: better, than the ratio. Afraid, I in the end to see what you've got.

Youngest Py: My code is simple, easy to write and easy to understand, for example, I print a Hello World, is a print("Hello World"), is that simple. I ask you Fubu Fu?

Boss Java: Printing a Hello World, I really need several lines of code, but also to declare a HelloWorld object.

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("Hello World");
    }
}

Second child C: I would like to define the primary function of a main, print a Hello World is a bit much.

#include <stdio.h>
main() {
  printf("hello world");
}

Fourth of C ++: I copied her second child, write a Hello World even more than her second child.

#include<iostream>
using namespace std;
int main()
{
  cout << "hello world!"<< endl;
  return 0;
}

Youngest Py: see no, this is the gap, so many who write the code, and I'm a simple and crude directly print Hello World.

Boss Java: The youngest, you do not ah, everything is an object, write a line of code, I think it should declare an object.

Youngest Py: What objects can I print out on the Ok.

Others: indeed the youngest write code too simple, even a child can learn basic, we humbled, the youngest, you have the ability to do what?

Youngest Py: none other than to say that I regressed to my third-party libraries, more than tens of thousands, the installation is simple, a pip installeasy to get, and gave people see the installation progress bar, you say I do not Niubi cattle.

Boss Java: I refused to accept this, you go to the warehouse to see maven

My jar package has any kind of scene, I would have complete ecosystem, how better to you the youngest?

Youngest Py: What any information you have installed in the pom.xml tell others, and your dependency ghost dead so long, people are willing to write it?

Fourth of her second child C and C ++: We cmake and gcc compiler would also like to add third-party libraries can.

Youngest Py: my requests, selenium, beautifulsoup, pyquery, lxml, Scrapy, Crawley, Pyspider library and a series of reptiles and reptile powerful framework to burst, almost all reptiles are my write, your market early reptiles without you the copies.

Boss Java: my WebMagic, Nutch, Heritrix, Jsoup, SeimiCrawler, code written JLiteSpider reptiles do more than you several times, before the market are basically reptiles with me, now you take up, sad.

Fourth of her second child C C ++: reptiles, carefully climbed into prison, and now the first case of reptiles ban crawling public micro-channel number, how many are fake traffic youngest your reptile cause, cause how many sites Ben collapse, say there do 12306 more than 20% of all traffic reptiles, how many people to grab votes, then the sale price, the official invoice, they robbed again, you've let many people do not grab votes, behind which triggered a series of chain assets dirty .

Youngest Py: It's none of my hair, but now the Baidu spider crawling, hands and applauded many sites, this is their problem.

Others: You reptiles, what else besides?

Youngest Py: My Data analysis Three Musketeers numpy, pandas, matplotlib, plus Seaborn, Scipy, StatModels, Pyecharts, Bokeh, Blaze, Plotly, NetWorkX, Biopython, SymPy and gwpy and other scientific data library is simply unbeatable, have shouted , and learn from the excel Python.

Boss Java: data analysis, although I have provided jar, but I sent my son to help me improve the scala.

Fourth of her second child C C ++: this thing is not SPSS, stata, tableau, powerbi, excel, Echart, FineReport and other powerful data analysis tools can be resolved, and we are used to develop the boss, why are you even write code.

Youngest Py: I am a Dragon Slayer Pycharm, a Heavenly Sword anaconda, a development, data analysis, merger swords, invincible power.

Boss Java: more than IDE development tools, I'm not afraid, I have Eclipse, MyEclipse, Intellij IDEA, NetBeans functionality to powerful explosion.

Fourth of her second child C C ++: Dev-C ++, C-free, CLion, Code :: Blocks, CodeLite, C ++ Builder, we feel the same no problem.

Youngest Py: my Django Web development community is very large, rivers and lakes, Python has run two legs, one leg is my django, because twenty thousand packages, a million or more are my Django, together with the other son flask, tornado, I developed domestic watercress, know almost abroad: Instagram, Disqus, national Geographic, NASA

Boss Java: Web development, than you dare, I'll come up with a Spring family is enough, SpringMVC, SpringBoot, SpringCloud, Say I have my own Tomcat, Jetty application server, the micro-architecture services would have to deepen people. I had the Servlet, jsp development (although behind, but basically in maintenance), now the site of choice for the development of my previous Spring family if not by php website development, it basically is.

Fourth of her second child C C ++: Although the site development we have almost no market, but are based on our software development, such as the early QQ, micro-channel, pay most of the treasure and so are our software development.

Youngest Py: have the ability to race with the hottest AI now, my machine learning sklearn, deep learning keras, Pytorch, tensorflow, Caffe, PaddlePaddle, which I do not know, what do? Is because of this, I recently considered the king.

Boss Java: you are not trying to think too much glory of the King, the King of glory client should be C # (Unity3D) developed core back-end service is the C ++ development, you can not have copies. Artificial intelligence, how I did not realize my deep learning library --DL4J, ND4J and Deeplearning4j, deep learning framework because only the data analyst with Python, just to let you fire up to now.

Fourth of C ++: CPP-Call-Tensorflow, Caffe2 C ++ API, PyTorch-CPP, my performance no better than you know how many times. Yes, talk about performance, the youngest, you very line.

Boss Java up the knife: even data are not, you do what the youngest of artificial intelligence, big data framework was to see my apache Apache community of Hadoop, Apache Hive, Apache Hbase, Apache Sqoop, Apache Flume, Apache Spark, Apache Beam, Apache Flink, Apache Storm, Spark Streaming, Apache Oozie there Clouders Manager (CDH) are my developed, big data platform is my doing, there is no data, you do what Ai, you are not invited funny monkey force?

Youngest Py: games, I can have my Pygame, performance, I admit relatively inefficient, big data is not there my pyspark?

Five C #: Your Pygame is child's play, the game market has occupied me, the youngest you can not come.

Java boss laughed: spark is my son scala development, spark people to you is not my analysis of these data (Java) and my son (scala), under your pressure, embarrassed developed pyspark, for Python provides APi, we have to say the R provides Rspark. Saying that the old R fell past ten to eleven.

Old R: is your third child has been hit me, depriving people now do not learn R data analysis, and all that you learn, you invincible.

Fourth of C ++: everyone is clearly occupied a kind of market is enough, now presents "Life is short, I learned Python" slogan.

Youngest Py: is to "Life is short, I learned Python".

Boss Java: because you, depriving the level of programming all just come down. Java developers to learn Python, that is, every minute thing.

Second child C: Do not say, I'm sure everyone universities must learn I started.

Fourth of C ++: You have the ability to make me learn Python or to learn the boss, I do not believe he had learned. I learned who I was basically tortured to death, you learn something every minute is py, have the ability to continue to talk performance, I seem to remember know almost have to rewrite the recommendation systems go, not because of your efficiency.

Old ten go: Today I rarely on the top ten, and "Life is short, I learned Python", claiming "By 2020, we learn together go".

Youngest Py: I went to you, you always ten qualified to speak? Besides I have cpython, Numba improve the operating speed can not it do?

Boss Java: youngest that you are qualified to speak in front of me, you can not even multithreading and concurrency are not handled properly, I might as well put forward the slogan "OnceWrite, RunAnywhere", write once, my powerful JVM, do you have a third child?

Youngest Py: I can Pyinstall labeled as exe, run everywhere, not "write once, run anywhere"

Boss Java: I'm strong, you do not know, you still run the exe it in your mac and liunx. I have a son and I Kotlin occupation APP market, do you have APP market, but also want big brother, this day is not it a little early.

Youngest Py: I have kivy development APP.

Fourth of her second child C C ++: The youngest, how can you not say with flutter developed APP?

Youngest Py: It is Google's open source UI toolkit, none of my hair thing.

Fourth of her second child C C ++: the underlying flutter is based on our development.

Youngest Py: I do not care, anyway, and now everyone is learning Py, my market is gradually become larger, when I was the boss.

Second child C: I was born in 1972, you can say I was the youngest elders. But Java runs on three billion devices worldwide, and I was not sure when the boss, you where the courage?

Youngest Py: I was born in 1991, Java but born in 1995, is the boss so I do not elders do?

Boss Java: The youngest was right, the youngest to become a boss, he expanded, first beyond the second child you.

Second child C: What? The youngest, he did not even compiler, an interpreter based on my compiler, dare clamor beyond me, with my compiler, the bottom package my code,
without me, where they come from you, the script is the script language is dynamic dynamic languages, oldest, youngest son and me which is not a static language, which does not own compiler? Believe it or not I do not I give you a compiler, so you past ten disappeared.

Youngest Py: FML, Dad, I was wrong, do not let me in the past ten disappeared ah.

Skiles cried silent php: php is the best language.

I want to say

This language Python, only suitable as bonus items, not suitable as technical support. Because it can not write complex logic. Good for writing a reptile, calculator, notepad, Qt like a small program. Python beyond Java and C, that is impossible. Python from beyond the fourth of C ++, is already a very shocking major event.

Some people may say this not satisfied, why not write Python complex logic? Watercress and know almost not written in Python do?

First statement, the rear end of watercress, has abandoned most of the Python code, re-written up. youtube also rewrite. Currently Python-based Web site, only such a know almost only child, and know almost recommendation algorithms have been rewritten with a go.

why? Python is not because of slow performance, but because of the Python syntax too tragedy. Maybe Python's syntax is simple, the advantage appears to be a beginner. Because beginners generally practiced hand, only write 1000 lines following gadgets, Python's syntax is simply turned cool, did not any shortcomings.

But if you really try to use Python wrapper dozens of classes, to write more than one-million lines of stuff, it's natural to understand how serious the problem of grammar. Not just uncomfortable, but just write it down, too costly to maintain. No static type checking is the main reason. Be able to solve it? Also, there is a good code review module design can avoid off some, but this way will offset some of the advantages of Python can bring a rapid development.

Or rivers and lakes that sentence, dynamic moment cool, reconstruction crematorium. Not suitable for large projects, Python or for prototype, pre-project.

Hunde Hao want to do it, how can I if the only thing it, unless you do not want to mix well, the overall quality of the golf is, unless you are the culmination of the degree of Python, python five minutes can entry, Python exactly the same syntax and English . People learn Python, and to learn Java, really think hard.

If you press difficulty score 0-5, then, Python no difficulty index 0, php difficulty index 1, go difficulty index 2, Java difficulty index 3, C ++ / C index of difficulty 4. The difficulty of the language is harder than static dynamic script, if you are a zero-based programming, it is recommended to learn from Python, then deep into Java. Handedly Python, Java-hand market is basically in front of the note level.

Ali basic Java world, Tencent past life is on C / C ++ birth, Huawei's main business is in terms of hardware, but also need basic programming C / C ++ is. Baidu, Python with opposite byte, go, ruby ​​more.

But if you want a more long-term development, only to learn python is definitely not enough, personally feel Java, Python which two languages ​​are familiar with the best. If you want to be a great god, it would supplement a C ++, you are invincible.

@Author:Runsen

Published 823 original articles · won praise 266 · views 280 000 +

Guess you like

Origin blog.csdn.net/weixin_44510615/article/details/105222033