Scirpting Language or System Programming Language?
(2010-11-13 19:44:27)
标签:
脚本语言系统编程语言应用程序it |
分类: 编程经验--积跬步至千里 |
In deciding whether to use a scripting language or a system programming language for a particular task, consider the following questions:
• Is the application’s main task to connect preexisting components?
• Will the application manipulate a variety of different things? • Does the application include a GUI?
• Does the application do a lot of string manipulation?
• Will the application’s functions evolve rapidly over time?
• Does the application need to be extensible?
Affirmative answers to these questions suggest that a scripting language will work well for the application. On the other hand, affirmative answers to the following questions suggest that an application is better suited to a system programming language:
• Does the application implement complex algorithms or data structures?
• Does the application manipulate large datasets, for example, all the pixels in an image, such that execution speed is critical?
• Are the application’s functions well defined and slow to change?
前一篇:成为优秀程序员必知