Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
511 views
in Technique[技术] by (71.8m points)

lint - 什么是“Linting”?(What is “Linting”?)

PHPLint, JSLint, and I recently came across "you can lint your JS code on the fly" while reading something about some IDE.

(PHPLint,JSLint和我最近遇到了“你可以动态地抓取你的JS代码”,同时阅读有关某些IDE的内容。)

So, what is this linting that everyone knows but me?

(那么,这是什么掉毛人人都知道,而我呢?)

  ask by Ashkan Kh. Nazary translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Linting is the process of running a program that will analyse code for potential errors.

(Linting是运行程序的过程,该程序将分析代码以查找潜在错误。)

See lint on wikipedia:

(请参阅维基百科上的lint :)

lint was the name originally given to a particular program that flagged some suspicious and non-portable constructs (likely to be bugs) in C language source code.

(lint是最初赋予特定程序的名称,该程序在C语言源代码中标记了一些可疑和不可移植的构造(可能是错误)。)

The term is now applied generically to tools that flag suspicious usage in software written in any computer language.

(该术语现在通常应用于标记以任何计算机语言编写的软件中的可疑用法的工具。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...