- Tkinter GUI Programming by Example
- David Love
- 215字
- 2021-08-27 18:49:11
Size and portability
The main advantage a command-line application has over a graphical one is the file size. Without the need to include a graphical library and all of its code, a command-line application can be significantly smaller. This not only allows for quicker downloads, but the ability to package the application on smaller forms of physical media.
Since all OSes will have a command-line interface by default, the potential issue of incompatibilities between a user's system and the graphical library in use will also be eliminated. Your application will also be able to run on machines which do not include a means of drawing graphical windows, such as servers, ensuring it can be run by as many users as possible.
Overall, the choice of interface for an application is largely down to what the application itself does and its intended audience. If you are building a simple application which you wish as many people as possible to use, then a graphical interface seems to be the way to go.
If you are creating a specific and very complicated program which is tailored toward people who are familiar enough with computers to not be intimidated by the command line, then the time and disk space savings of a command-line interface could be of real benefit.
- R語言數(shù)據(jù)分析從入門到精通
- Java應(yīng)用與實戰(zhàn)
- Getting Started with ResearchKit
- Learn WebAssembly
- Python編程:從入門到實踐
- MATLAB 2020從入門到精通
- C語言程序設(shè)計簡明教程:Qt實戰(zhàn)
- Rust游戲開發(fā)實戰(zhàn)
- Java圖像處理:基于OpenCV與JVM
- Web App Testing Using Knockout.JS
- 區(qū)塊鏈架構(gòu)之美:從比特幣、以太坊、超級賬本看區(qū)塊鏈架構(gòu)設(shè)計
- Unity 2017 Game AI Programming(Third Edition)
- ASP.NET Web API Security Essentials
- Vue.js光速入門及企業(yè)項目開發(fā)實戰(zhàn)
- 編程的原則:改善代碼質(zhì)量的101個方法