r/ProgrammerAnimemes • • Mar 06 '20

test failed tho

Post image
659 Upvotes

11 comments sorted by

View all comments

Show parent comment

2

u/ThePyroEagle λ Mar 07 '20

It's even better when it's compiler-assisted linting.

Who needs a linter that manually parses everything when the compiler can do the parsing? No more accidental language version mismatches, no more buggy linter parsing. In addition, linters can play with type information, since the compiler provides it for free.

As far as I'm aware, only C# (Roslyn) and Haskell (GHC) support this kind of linting right now.

3

u/[deleted] Mar 08 '20

I read somewhere that scala also supports this