
名词 (n.) 缩进;缩排;凹痕;凹口。常用于指文本排版中每行开头的空格缩进,也可指物体表面的凹陷或锯齿状的切口。
/n.dente.n/
Please check the indentation of your code before submitting it.
请在提交代码之前检查你的代码缩进。
Proper indentation not only makes the source code more readable but also, in languages like Python, determines how the program actually executes.
正确的缩进不仅能使源代码更具可读性,而且在 Python 等语言中,缩进还决定了程序的实际执行方式。
该词源于拉丁语 indentare,由 in-(向内)和 dens(牙齿)组成,字面意思是"像牙齿一样刻入"。最初在中世纪英语中,indent 指在文件边缘剪出锯齿状的缺口,用来验证契约的真实性(两份文件的锯齿必须吻合)。后来词义扩展,泛指任何形式的缩进或凹陷。加上名词后缀 -ation 构成 indentation,表示缩进的动作或状态。