logoalt Hacker News

dabinat • yesterday at 8:54 PM • 1 reply • view on HN

I get that dogfooding is useful and you should play to your team’s strengths, but I personally feel it was a mistake to build servers and dev tools with JavaScript.

In a browser, scaling doesn’t matter - all that matters is the speed perceptible to a single user. But when you scale across multiple users or run it on every PR in CI, that’s when JS’s inefficiency becomes more apparent.

In the age of AI, writing something inefficiently because that’s the language you know best does seem like an anachronism.


Replies

halflife • yesterday at 9:05 PM

It’s more than that, having a shared language between client and server has a lot of advantages. From shared libs to shared schemas, and more useful specialization in developers when you have 1 language instead of 2 that can easily develop e2e.

There is obviously a solution to all of these, but it requires complexity, tooling, and better developers, so why bother?