News for hackers. Stuff that matters.
Re:Show HN: Mest – Place to talk with those you disagree with by kybernetikos on Wednesday November 09, 2016 @01:45PM (#12913281)
It probably shouldn't but JS doesn't have much of a standard library so it's easy to make unfair comparisons.

How big do you think a java client to do the same thing would be?

Re:Show HN: Mest – Place to talk with those you disagree with by maloney on Wednesday November 09, 2016 @03:29PM (#12914307)
4MB is an incredible amount of Javascript. All of underscore is less than 6kb, jQuery is less than 70kb. Both of those libs fill out the "standard" library needs of most websites.
Re:Show HN: Mest – Place to talk with those you disagree with by bbcbasic on Thursday November 10, 2016 @03:39PM (#12924107)
No excuse for 4mb though based on what the app does. 50k should do.

For example in a side project I tried SammyJs then realised it requires jQuery. So I just hunted for something that can route urls without the needless dependency. I chose Navigo.

Point is it takes some care but not too hard to keep the size reasonable. Also don't use npm for dependencies on a web site. But npm is ok for tooling e.g. webpack