官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 高雄县| 临江市| 阿克苏市| 龙陵县| 内江市| 平顶山市| 介休市| 尼木县| 广州市| 东城区| 乐山市| 玉屏| 公安县| 昌平区| 大荔县| 金溪县| 禄丰县| 宁城县| 无极县| 寿宁县| 黑水县| 三河市| 鄄城县| 博白县| 玛曲县| 承德市| 林州市| 夏邑县| 丹巴县| 新丰县| 舞钢市| 舞阳县| 甘南县| 清镇市| 札达县| 陆丰市| 桐庐县| 买车| SHOW| 鄯善县| 佛冈县|