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

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.
主站蜘蛛池模板: 元江| 柯坪县| 平谷区| 广丰县| 白玉县| 乐至县| 嘉祥县| 衢州市| 铅山县| 巴马| 磐石市| 会昌县| 犍为县| 云林县| 五常市| 双流县| 甘泉县| 玉龙| 淮南市| 渝北区| 漳浦县| 韶关市| 汶川县| 万盛区| 巴南区| 安阳市| 资源县| 卫辉市| 景德镇市| 永嘉县| 和林格尔县| 石城县| 嘉善县| 武安市| 前郭尔| 缙云县| 肥乡县| 重庆市| 上饶市| 定西市| 界首市|