Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
xboxnolifes
· 2y ago · 0 comments
With such a broad definition of linter, wouldn't the type systems of
all
statically typed languages just be high-powered linters?
Comments
[–]
zachrose
2y ago
I’ve worked on several TS projects that don’t type check but still “compile” (emit non-TS JavaScript). To me that’s the difference between a linter and a compiler, and I wish those projects had stopped compiling when they could no longer type check.
[–]
scotttrinh
2y ago
Good news! There is a configuration option for that:
https://www.typescriptlang.org/tsconfig/#noEmitOnError
[–]
codeflo
2y ago
No, in most static languages, the type system influences code generation.