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

Using text editors to write and manage programs

Like any other practice, programming requires a certain set of tools.

The first of these is the text editor. Text editors for programming are not like ordinary word processors, which will often apply formatting to text and sometimes force users to save with certain file extensions. Programs need to be saved in a raw format in order to run properly. This can be done with plain text editors such as Notepad in Windows and gedit in Linux; however, there are a few reasons to use a specialized text editor to program:

  • Code and data tend to be spread across multiple directories, so keeping things organized is an important part of programming. Specialized text editors will often include an interface to open, close, move around, and rename files in a particular directory.
  • Programs have rigid syntax, so it can be hard to navigate, read, and write programs, and easy to make mistakes if there is nothing to reinforce that syntax. Specialized text editors will highlight the syntax of the programming language. They will also often include shortcuts to fill in common words and syntactical elements.
主站蜘蛛池模板: 江安县| 郧西县| 永吉县| 昌吉市| 扶沟县| 镇平县| 汾阳市| 乌恰县| 荆门市| 全州县| 盘锦市| 基隆市| 黄龙县| 含山县| 芒康县| 新余市| 新蔡县| 皋兰县| 禹城市| 诏安县| 金川县| 五常市| 青海省| 中江县| 颍上县| 墨竹工卡县| 洛宁县| 安顺市| 吉隆县| 保山市| 北碚区| 潢川县| 五大连池市| 独山县| 鸡西市| 凤山市| 景谷| 海伦市| 河曲县| 沐川县| 观塘区|