What is the meaning of "lint" in the command -Xlint = unchecked?

What does the " lint" in the flag -Xlint=uncheckedfor mean javac? Since it deals with generic types, you can expect something like -Xgenerics=uncheckedor so!

+4
source share
4 answers

It is extracted from an optional C language compilation tool to detect "suspicious" behaviors in your code. It has become the standard way of referencing such static code analysis.

+4
source

This is a story about the history of programming :

lint , , (, ) . , , .

Lint ( Bell Labs) (V7) Unix 1979 .

+9

" Lint" , .. , -Xlint, javac lints.

+2

Source: https://habr.com/ru/post/1523961/


All Articles