logoalt Hacker News

lmmyesterday at 9:48 PM1 replyview on HN

> Every line of client JS brings build tooling, npm audit noise, and another supply chain risk.

IME this is backwards. All that stuff is a one-off fixed cost, it's the same whether you have 10 lines of JS or 10,000. And sooner or later you're going to need those 10 lines of JS, and then you'll be better off if you'd written the whole thing in JS to start with rather than whatever other pieces of technology you're using in addition.


Replies

skydhashyesterday at 11:26 PM

10 lines of JS fits into a screen and can be reasoned about quite easily. Now do the same for 10000.