If programming language is a martial art, which language is the martial art?

In the learning process of programming, we learn from the functions, syntax, features and so on. After mastering a programming language, it will be much faster to learn another language, just as with internal skills, it will be much easier to acquire other martial arts.

Assembly language

Assembly language – Easy jin Jing

Assembly language is the fastest and most effective language provided by computer to users. It is also the only language that can make use of all the hardware characteristics of computer and directly control the hardware. The program written with it has the characteristics of less storage space and fast execution, which can not be replaced by high-level languages. Usually used in low-level program optimization, hardware operations or embedded programming situations, few people have written assembly directly.

The sweeping monk in “Tianlong Eight Bu” practices the exclusive secret method of Yi Jin Sutra of Shaolin School. Sweeping monk in addition to sweeping the floor, the only thing to do, is to understand the yi Jin Jing, decades of repair, practice a unique martial arts, unfathomable, invincible, efficient, no recruit to win.

The C language

C language – Jiuyang Shengong

C language is a process-oriented computer programming language, which is different from C++, Java and other object-oriented programming languages. C was designed to provide a programming language that could compile in an easy way, handle low-level memory, produce only a small amount of machine code, and run without any runtime environment support. The main purpose of C language is not only to realize the basic functions of programming language, but also to realize the operating system, and also has a great use in the field of communication. It is a little unwieldy compared to the application level, but there is a lot of room for efficiency at the bottom level.

C language efficient, flexible, rich functions, strong expression, as a foundation of the underlying language and Jiuyang Shengong partial internal work is consistent, Jiuyang Zhenjing focuses on internal force, not heavy method, which is mainly described in fact “rigid and soft”. A generation of Wudang master Zhang Sanfeng, is based on Jiuyang internal kung fu, just created wudang a pulse kung fu. Therefore, after learning C language well and having strong internal skills, it will be relatively easy to learn other languages.

C++

C++ – nine Yin zhen jing

C++ is the inheritance of C language, which can not only carry out the procedural programming of C language, but also can carry out the object-oriented programming characterized by the abstract data type, and can also carry out the object-oriented programming characterized by inheritance and polymorphism. Compared with C, C++ adds the following aspects:

Type checking is more stringent

Object oriented mechanisms have been added

Added a mechanism for generic programming (Template).

Added exception handling.

Operator overloading has been added.

Added the standard Template library (STL).

If C language is partial internal jiuyang magic, then C++ is no different from “Nine Yin Zhen Jing”, both are very basic, and there is a close relationship between the two, the two master after mastering the world martial arts can easily master.

“Nine Yin true through” forms of lay particular stress on, powerful, rich, containing numerous magic recipe (internal work, qigong, boxing, hand, leg, art of using saber, jianfa, rod, whip, digits, acupuncture technique, healing practice, her breath siddhi, give out solution, etc.), the secretive, giri harder to learn, also contains a lot of content, c + + extension to the continued. Complex, powerful, encyclopedic languages that are almost impossible to match for large-scale projects.

C++ with “nine Yin zhen jing”, there are a lot of misunderstandings easy to fall into, the more prominent problem is memory leakage, if used improperly, it is easy to end up with zhou zhi if, ouyang feng, mei chaofeng, etc.

java

Java – little reactive work

Java is an object-oriented programming language, not only absorb the advantages of C++ language, but also abandon C++ difficult to understand multiple inheritance, Pointers and other concepts, so the Java language has two features of powerful and easy to use. As a representative of static object-oriented programming languages, Java language has implemented object-oriented theory well, allowing programmers to do complex programming in an elegant way of thinking.

Java has the characteristics of simplicity, object-oriented, distributed, robustness, security, platform independence and portability, multi-threading, dynamic and so on. Java can be used to write desktop applications, Web applications, distributed systems and embedded system applications, etc.

The minor wuxiang gong is a powerful internal gong of the “Xiaoyao School” in Jin Yong’s martial arts novel Tianlongba Bu. As long as the body has this skill, and then know other martial arts moves, relying on its power, can imitate others’ unique learning or even better than the original, people who have not learned this skill is difficult to distinguish. This feature is similar to Java’s distributed, interpretive, portable, multi-threaded, dynamic execution.

Java system is huge and provides a lot of network technology support, as small reactive power for the foundation of shaolin seventy-two stunts, and the JVM system is like the carefree school system. His disciples are numerous and outstanding, famous, well-learned, unique in the world.

python

Python – tai chi

Python is a cross-platform computer programming language. Is a high-level scripting language that combines interpretability, compilation, interactivity, and object-oriented programming. Originally designed to write automated scripts (shells), it has been used more and more for independent, large project development as versions have been updated and new features have been added to the language. It can be applied in the following fields:

Web and Internet development

Scientific calculation and statistics

Artificial intelligence (ai)

Desktop Interface development

Software development

The backend development

Web crawler

The simplicity and readability of Python language are similar to that of Tai Chi. However, to reach a certain level, it needs long-term practice. The same effect is also achieved, and the power is great after mastery.

The Go

Go language – God of the Underworld

Go(also known as Golang) is a statically strongly typed, compiled, syntactic, and garbage collector programming language developed by Google.

Go’s syntax is similar to C, but the declaration of variables is different. Go supports garbage collection.

Compared to C++, Go does not include features such as enumerations, exception handling, inheritance, generics, assertions, virtual functions, etc., but it does add language-level support for features such as Slice, concurrency, pipes, garbage collection, interfaces, etc.

Key features of GO include the following:

Concurrency and coroutines

Communication based on message passing

Rich and useful built-in data types

The function returns multiple values

Defer mechanism

Reflection (reflect)

High-performance HTTP Server

Engineering management

Programming specification

The language is easy to use and solves the pain points of concurrent programming and writing the underlying application development efficiency. Supported by the world-class technology company Google, the killer app Docker ecosystem has completely exploded in recent years. So the future of Go is limitless. May swallow a lot of C, C++, Java projects.

The North Ghost is the highest martial art of the “Xiaoyao School” in Jin Yong’s novel “Tianlongba Bu”. After practicing the North Ghost, every point of the body can absorb human internal forces and be compatible with the world’s martial arts. Highly toxic. Strong fierce bully, readily attack will have great power. The defense of the real qi protection body increases greatly, and the enemy will be shocked when attacked. Speed up. These features are similar to Go’s extremely fast, high-performance, efficient, advanced concurrency support model, and rich annotation library.

object-c

Object-c – Dugu Nine Swords

Objective-c is a programming language that’s built on top of C with object-oriented features, You can think of Objective-C as a superset of ANSI version C, which supports the same basic C syntax while extending the standard ANSI C syntax.

Dugu Jiujian is unique in the martial arts system. It is similar to object-C, which is the language of Apple’s development software, and dugu Jiujian is similar to object-C, which is elegant and elegant, and its attack is more than defense.

JavaScript

JavaScript – Star sucking method

JavaScript is a dynamically typed, weakly typed, prototype-based scripting language. Dynamic and cross-platform.

Advantages of JavaScript:

Fast terminal response: Java scripts are written for the client and run without server-side support. There is also no need to compile on the client side to improve the speed advantage. Executed as a script on the user’s computer, depending on the task, the result is almost immediate.

Simplicity: JavaScript is easy to learn and implement. Providing a large amount of pre-programmed functional object code makes it a breeze to develop a script that meets the user’s needs.

Versatility: JavaScript interacts well with other languages and is widely used in many areas.

Because Javascript is evolving so fast, an international standard came out about a year and a half after Javascript was introduced. Premature standardization, Javascript specifications have not yet come and been adjusted, and it is solidified. Design flaws were standard before they were fully exposed. Such as:

Not suitable for developing large programs, no namespace, difficult to modularize; Allows for duplicate definitions of functions with the same name, with the latter overwriting the previous, making modular loading difficult.

Very small standard library, only a few basic operations, a lot of functionality is missing.

Global variables are difficult to control.

As Javascript arrays are also objects, it is not very clear whether an object is an array or not.

The method of attracting stars, from Jin Yong’s martial arts novel “swordsman smile”, is the martial arts practiced by the director of the Sun and moon God Church, who appointed me to fight and shock the rivers and rivers. The practitioner has let me, linghu chong, the only harm is the risk of internal force. To absorb the internal forces of other first-class martial arts. Give a person’s feeling is the north style-god gong is legitimate, hua Gong dafa is piracy, star suction dafa is abridged version.

JavaScript is like the magic of using the star big method, it can achieve the purpose in the simplest way. The standard has the defect of deletion, it is not easy to control, and it may bite back.

C#

C# – toad skill

C# voice, like toad gong is disliked. Microsoft is an object-oriented programming language derived from C language and C++. It inherits the powerful functions of C language and C++ while removing some of their complex features (such as no macros and no multiple inheritance). C# integrated VB simple visual operation and C++ high efficiency, based on.net framework class library, has similar to VB rapid development ability, fully object-oriented and type safety.

Since C# is an afterthought, much of its syntax is an improvement from other languages. Overall, C# syntax is more elegant than Java. Support for events, delegates, properties, Linq, and a host of other features that make business development easier.

Running only on Windows) pushed it out of the mainstream. Now partial to live in a corner, it is difficult to affect the central Plains.

Toad skill, created by Ouyang Feng, became one of the five martial arts masters in the Southern Song Dynasty, known as western Poison. It is a very powerful skill. The power is enough to draw with the dragon eighteen palm, the spirit of the problem of Ouyang Feng and Hong Qigong wwI can also draw, two internal force exhaustion eventually died in Huashan, visible the power of toad work.

Like toad, C# has a lot of power and a lot of popularity when it first appeared, but it was a bit bloated under the huge class library of.net, and it only runs on Windows, so it was relatively slow to develop, and there were a lot of people who looked down on C#, just like toad.

PHP

PHP – Dragon 18 hands

PHP is practical, cross-platform, efficient, easy to deploy, fully open source, and supports almost all popular databases and operating systems.

PHP is a server-side scripting language with a unique blend of C, Java, Perl, and PHP’s own syntax. Easy to learn, widely used, focus on Web development, write small and medium-sized website background first choice. The main FRAMEWORK of PHP is still based on MVC pattern, but there are also continuous innovation, such as Codelgniter framework, high performance, fast, suitable for shared host; Seagull is more powerful, has a more standardized and modular code base, and has more documentation to support it.

Disadvantages:

Not very good for multithreading support, most of the time can only be simple simulation to achieve.

The grammar is not very strict.

PHP has a cumbersome interpretation mechanism.

Whenever there is a debate about programming languages, some people always say “PHP is the best language in the world”. Of course, there is a lot of criticism. No language is accepted by everyone. In terms of “PHP is the best language in the world”, it barely matches what the disgraced monk called “the best language in the world”.

Vigilante – Programmer

If the programming language is compared to martial arts, then a generation of masters are very awesome programmers.

In wuxia novels, Zhang Sanfeng is a martial arts prodigy, and his skills in defense and attack are the best in the world. Today, Zhang’s character is likely to be a genius programmer. Learn from Master Jueyuan, learned the Jiuyang Shengong, if it is a programmer is proficient in the language from the language of this partial internal power language, is crucial to the future development. Later, Zhang zhenzhen also learned many other martial arts, and created his own “Taihe Gong”, “Nine revolution Xuangong”, “Pure Yang Gong” and other internal interest skills, is a high programming ability, innovation ability should not be ignored programmer.

In the martial arts novel, the top master, will more than a martial arts, the art of the world, all for me to use, but there is absolutely a martial arts to reach the point of perfect, as a programmer do not think of integration and draw lessons from other people’s things, they also need to “practice martial arts”.

The world of code is also a river’s lake. The more thorough understanding of programming ideas, deep internal power, more to master a language, is more than a martial arts.

Article source: Toutiao, author, C language and CPP programming

In addition, if you want to improve your programming ability, learn C/C++ programming knowledge! Then you are in luck

C++ programming learning exchange circle **, QQ group 757874045** wechat official account: C language programming learning base

Share (source code, project actual combat video, project notes, basic introduction tutorial)

Welcome to change careers and learn programming partners, use more information to learn and grow faster than their own thinking oh!

Programming learning books

Programming learning Video