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

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.
主站蜘蛛池模板: 太原市| 大名县| 桦川县| 镇巴县| 德令哈市| 新民市| 赞皇县| 米林县| 馆陶县| 彰化市| 健康| 天全县| 安阳市| 台东县| 小金县| 清徐县| 永丰县| 宁海县| 肇庆市| 疏勒县| 平度市| 丰原市| 太原市| 漳平市| 宝鸡市| 鸡西市| 天门市| 麟游县| 习水县| 东兴市| 舟曲县| 葵青区| 临清市| 武陟县| 江阴市| 安龙县| 嘉峪关市| 丹棱县| 修武县| 平山县| 农安县|