Scripting language introduction

zhaozj2021-02-16  55

Perl

The maximum feature of Perl is that there is a powerful string pattern match, which is the best text file read and generate language. Perl has a lot of freedom, and it is very randomly like English, and Perl has a powerful database interface and other interfaces. Perl has the largest amount of library. Perl is not suitable for writing a big program. Perl has a famous disadvantage that it is difficult to understand, and there is also a famous advantage to concise.

PHP:

I feel that PHP is a freak. The function of Perl is embedded in HTML can fully realize the function of PHP, but also create a language, which has increased everyone's learning burden. PHP can be embedded in HTML, easier to write server-side programs. PHP natural and web servers and MySQL databases are combined. PHP can dynamically generate an image. Python:

First, Python is the language as an initiator as Basic, and it is easy to understand as English. Python has the most abundant grammar as Java. Python has similar simplicity similar to Perl, but there is no mode match. Python is suitable for writing a big program. Python is similar to LISP, it has an evAal function that performs a string as a program that can save all data of an object, and can pass the function as a parameter to another function. Python has very good expansion, Python programs can be combined with C processes, and Java programs well. Tcl:

TCL has the easiest grammar, the best and other programs interact, with TK written in a graphical interface program. JavaScript:

Write the best tools for dynamic web pages. Lisp:

Lisp's syntax is very simple, only simple functions and parameters of statement structure. LISP data and programs are blurred. LISP can be nest in deep. ProLog:

ProLog is a special language. Specially used to deal with knowledge. I feel that proLog is a database for processing tools. It is also based on some knowledge to derive more about more knowledge.

Why did I choose Python first declare that I have programmed only an application, which is a small program that replaces myself. If the write system program will always use C or Java.

I like script language, the scripting language can run, it is very easy to modify, and the programming is a regular activity. After the program is completed, there is no need to make very grand, but also compile. In addition, the people used by the script program can be modified with hand, and there will be no way to find the source code. Therefore, C and Java were excluded.

I like simple languages, don't like to learn a lot of complicated provisions in order to write simple programs, the language that needs a lot of learning will not be a good language, it is to look at people as a machine. C and Java have strict but rosso's grammar, and there is a function, class, library that is never learned. It is a big head. Perl has a variety of strange speed notes, and the procedures are often dizzy. Simple meaning except that it is easy to learn, it also has a rich function, and it is often ready to use it. No need to write the same data structural program. Python has a wealth of data types, with complete object-oriented structures, have a variety of convenient programming modules such as regular expressions. This logic is how many procedures are doing, and there are fewer people. If the program is less, it will do more. This is the friendly problem with interface. Easy to get started, rich in functionality is a very important goal of programming, and Windows is popular with this popular. And Python is also very good to reflect this. Perl is the same as other tools such as UNIX EMAC, but it is too difficult to learn, it is too difficult to understand. It is comparable to humanity.

About performance. Now the CPU is very powerful. In addition to large programs and system programs, there is no need to care about performance.

About functionality. If not writing a system program and procedure procedure, it is not necessary to use the function of the operating system. c is to do anything, but it has low programming efficiency, complicated. As for why I don't have VB, because VB is too large. I don't have to implement a small function to start such a huge procedure. too exaggerated. In addition, VB does not inherit, although it is application programming, but if you want to edit a slight program, you will always be inherited.

Python has a strong scalability to make Python to learn will not waste. Python can use a variety of C and C libraries through simple processing, or can be called C and C . Python can use Java categories directly, or it can be called directly by Java. In this way, it will not be wasted for Python, Java, C to learn and experience, and can also be supplemented with each other. Python can improve Java and C programming efficiency, Java and C can supplement the Python function. Python can also interact directly with TCL, which is built-in. Looking forward to Python can simply call Perl and PHP. Can use Lisp and ProLog better.

转载请注明原文地址:https://www.9cbs.com/read-18060.html

New Post(0)