upvote
I mean this entirely earnestly, not intending to start a language war here.

As someone who has programmed in Go for years, it’s always surprising to hear what’s going on outside of my bubble.

It’s very surprising to me that you have to actually make arguments to persuade people that multi minute lint steps aren’t a good developer experience.

And that the standard tooling in the most popular language in the world still has this problem.

I’m not rooting for the volunteers working on ESlint to get displaced. In fact, I’m obviously very concerned about the displacement of human developers. But if it is possible to speed up the tooling with AI, it really calls into question what they’ve been doing for the past few decades as every other tool and language has seen the writing on the wall and optimized…

The GitHub post seemed to sort of recognize the gravity of the problem, and that ESLint might get replaced.

Only a little bit, though. Because then it went into obvious debunked arguments like “JavaScript is just as fast as Rust because of V8 engine optimizations”, which we know isn’t true. It’s also weird that AI wasn’t mentioned at all, and Astral’s Python linter wasn’t mentioned. Both feel like important developments that basically disprove most of their points.

reply
Python is not popular and widely used because it is the best language. There has been a stunning amount of work by brilliant people to try and beat Python into a reasonable experience: bolted on typing, memory usage (still bad), the GIL, etc.

Python is widely used because it is widely used, to which much of the lineage in tech goes to Google's usage. People forget (or weren't there for) Google's/Google's engineers' influence in the late 2000s/early 2010s.

Go—an entirely new language!—we built because Google finally gave up on improving Python enough. If they couldn't do it, who could?

reply
Python used to be executable pseudocode - very simple, very flexible, and not very weird (unlike Perl). Nowadays, Python has accreted more features, not all of them well-designed. I've always preferred Python over Perl and Ruby.
reply
Every time I step outside the Go bubble I'm quickly reminded that the grass is in fact much greener on the inside.
reply
Lint corrections are largely trivial compared to things like enhancements or refactors. As a result I save linting as the final step before merging branches. I get the same result with far less time spent.
reply
That's the result of lint costing too much. You've adapted to the tools that you've had, but that's not a cap on the role they're capable of playing.

With cheaper lints you can both use it for more things that are not trivial (I lean on it more and more for enforcing all the invariants I want my agents to maintain) and run it much more regularly without it being a real cost.

(Edit: Also, do you really not have lint turned on in your editor?)

reply
ESLint takes 2-5seconds on my large repo. I don’t run it less because of its performance. I run it less because it’s a security pit. I created a second package.json file without it. When I want to run ESLint now I have to change the names of the two package.json files, NPM install, run the tool, makes the changes, change the file names again, and NPM install again.

Doing this shows I have a very small and extremely flat dependency graph of less than 10 dependencies total, of which none are security concerns.

reply
I think most people would agree 2–5s on one repo doesn't mean speed doesn't matter. Ours took about 6 minutes on an M4 Pro, and --cache was too unreliable to use. We moved to oxlint, which fixed both the speed and most of the dependency surface.
reply
If one automation job takes 6 minutes and runs multiple times a day I would rethink my approach instead of blaming the tools. You are just burning your own time.

When I first joined Orbitz, now Expedia, the build got up to 90 minutes. It was a Java app written for Java devs. The client-side web people would have to wait through a complete build to observe any code change, and because we weren’t Java people the owners of the build cared much less that you might anticipate.

reply