|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
在一本书上看到了几种脚本的比较,将其列出,与大家一起学习!是否真如书上所说,欢迎大家使用的给予评价一下:
1、Tcl/Tk: This has almost are required features and easy to learn. Compared to Python it is not very applicable for large programs and is weak in data structure.This was designed to be used in applications. It has simple and clean interface with C.
2、Python: It is open source and has almost all the required features. It is available for all important Operating systems, and is widely used. Negative is the indention and speeding.
3、Ruby: This has O-O support better than phython and is very flexible. It can add method to a class at runtime. Not very widely used yet.
4、Perl: This is widely used and is very easy to learn for engineers who are already familiarwith Unix shell programing env. It has flexible set of control statements, powerful open statement etc.However, Perl files can be harder to read.
5、Javascript:This has ability to be used as macro language and as regular shell and it has very clean syntax. This is embedded and can be used instead of TCL. It has more use in HTML.
6、Scheme. Syntax is not very clean. It has several existing versions that are not compatible. It comes from LISP.
7、Shell script. This is commonly used for Unix and is simpler. It is not portable,since it depends on external programs. ksh93 is actually first scripting languagethat is also a Unix shell.
8、PHP: It is very useful for solving wide range of tasks in WEB enabled environment. It has seamless integration with MySQL database and Apache WEVserver. |
|