📄 00000000.htm
字号:
<HTML><HEAD> <TITLE>BBS水木清华站∶精华区</TITLE></HEAD><BODY><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER>发信人: cybergene (基因~也许以后~~), 信区: Linux <BR>标 题: top ten reasons why people use Tcl today <BR>发信站: BBS 水木清华站 (Wed Dec 6 00:33:26 2000) <BR> <BR> <BR>Tcl Top 10 <BR> <BR> <BR> <BR>There are many different reasons why people use Tcl but most of them <BR>fall into just a few categories. Here are the top ten reasons why people <BR> use Tcl today. <BR> <BR>1. Rapid development <BR>2. Graphical user interfaces <BR>3. Cross-platform applications <BR>4. Extensible applications <BR>5. Flexible integration <BR>6. Ready for the enterprise <BR>7. Testing <BR>8. Easy to learn <BR>9. Network-aware applications <BR>10. The Tcl community <BR>11. BONUS: It's free! <BR> <BR>1. Rapid development <BR>The most important reason why people use Tcl is that it gets their job <BR>done faster. In many cases you can implement applications 5-10x faster <BR>with Tcl than with other languages, especially if the application <BR>involves GUIs, string-handling, or integration. Once an application is <BR>built in Tcl, it can also be evolved rapidly to meet changing needs. <BR> <BR>2. Graphical user interfaces <BR>With its Tk toolkit, Tcl provides facilities for creating GUIs that <BR>are incredibly simple yet remarkably powerful. For example, the Tk <BR>canvas widget makes it easy to create displays with graphics, yet it <BR>also provides powerful facilities such as bindings and tags. The text <BR>widget provides sophisticated hypertext capabilities and more. No <BR>other toolkit has the same combination of simplicity and power. Tcl <BR>attracted much of its early following because it was the only sane way <BR>to create user interfaces under Unix; now it provides these same <BR>benefits on Windows and Macintosh platforms too. <BR> <BR>3. Cross-platform applications <BR>Tcl runs on Windows (95 and NT), Macintosh, and nearly every <BR>imaginable Unix platform. This makes it an outstanding tool for creating <BR> cross-platform applications. For example, the same Tcl script can run <BR>on Unix, Windows, and Macintosh and display a graphical user interface; <BR> the GUI will have a different look and feel on each platform, to <BR>match the user's expectations for that platform. Because it runs on <BR>all major platforms Tcl provides an excellent management and integration <BR> tool for mixed environments, such as those with Windows desktops and <BR>Unix servers. <BR> <BR>4. Extensible applications <BR>If you want to create a powerful application that can be scripted and <BR>extended by its users and modified in the field, you'll need to <BR>include an interpreted scripting language in the application. Tcl is <BR>unmatched for this purpose. The Tcl interpreter was designed from the <BR>start to be embedded in a variety of applications. It is easy to <BR>incorporate Tcl into an application, and the Tcl interpreter melds <BR>naturally with the application, almost as if the Tcl language were <BR>designed exclusively for that particular application. <BR> <BR>5. Flexible integration <BR>With Tcl it is easy to coordinate existing components and applications <BR>so that they work together effectively. For example, it is easy to use <BR>Tcl as a control language for special-purpose hardware and protocols, <BR>add a GUI or network interface to a legacy application, or integrate new <BR> Java applications with legacy code in C or C++. This makes Tcl a <BR>powerful tool in areas such as network management and factory <BR>automation. <BR> <BR>6. Ready for the enterprise <BR>With the Tcl 8.1 release, Tcl became the first (and only) scripting <BR>language suitable for large server applications and other <BR>mission-critical enterprise uses. The benefits of scripting, such as <BR>rapid development, flexible evolution, and easy integration, have been <BR>known for years, but until Tcl 8.1 no scripting language provided all <BR>the facilities needed for enterprise applications, which include <BR>internationalization, thread safety, cross-platform portability, great <BR>GUI capabilities, embeddability, Internet support, and database access. <BR> Tcl 8.1 added internationalization and thread safety, making Tcl the <BR>first scripting language to meet all these requirements and bring the <BR>benefits of scripting to the enterprise. <BR> <BR>7. Testing <BR>Tcl is an ideal language to use for automated hardware and software <BR>testing, and it may well be the dominant language used for this purpose. <BR> With Tcl you can easily connect to testing hardware or internal APIs of <BR> an application, invoke test functions, check the results, and report <BR>errors. Tcl's interpreted implementation allows tests to be created <BR>rapidly, and the tests can be saved as Tcl script files to reuse for <BR>regression testing. If you are testing a software application, Tcl <BR>allows you to connect directly to lower-level APIs within the <BR>application, which provides much more precise and complete testing. <BR> <BR>8. Easy to learn <BR>Tcl is a very simple language. Experienced programmers can learn Tcl and <BR> produce their first interesting application in just a few hours or <BR>days. Casual programmers can also learn Tcl quickly. (Lesson 1) Tcl is <BR>often used in situations where experienced programmers create a base set <BR> of facilities, and more casual programmers write Tcl scripts to <BR>customize those facilities, create business rules, etc. <BR> <BR>9. Network-aware applications <BR>No platform has easier to use networking facilities than Tcl. Servers <BR>and clients can be created in a few minutes with just a few lines of <BR>code. (Example) Tcl provides a great way to add network interfaces to <BR>legacy applications. <BR> <BR>10. The Tcl community <BR>Another attractive reason for using Tcl is the large and helpful <BR>community of Tcl users and developers. The Tcl community is a constant <BR>source of ideas, free extensions, applications, and technical support. <BR> <BR> <BR>11 BONUS: It's free! <BR> <BR> <BR>-- <BR> 桃花坞里桃花庵,桃花庵下桃花仙;桃花仙人种桃树,又摘桃花卖酒钱。 <BR> 酒醒只在花前坐,酒醉换来花下眠;半醒半醉日复日,花落花开年复年。 <BR> 但愿老死花酒间,不愿鞠躬车马前;车尘马足富者趣,酒盏花枝贫者缘。 <BR> 若将富贵比贫贱,一在平地一在天;若将贫贱比车马,他得驱驰我得闲。 <BR> 别人笑我忒疯癫,我笑他人看不穿;不见五陵豪杰墓,无花无酒锄做田。 <BR> <BR> <BR>※ 来源:·BBS 水木清华站 smth.org·[FROM: 211.100.66.31] <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -