News for hackers. Stuff that matters.
Re:Show HN: Mest – Place to talk with those you disagree with by endless1234 on Wednesday November 09, 2016 @12:17PM (#12912211)
How can a site like this require that much clientside javascript?
Re:Show HN: Mest – Place to talk with those you disagree with by johansch on Wednesday November 09, 2016 @01:23PM (#12913060)
Frameworks using frameworks using frameworks using frameworks.

Also: lots of front-end developers are into personal fame - and because they are front-end people they are also good at web-based marketing strategies. This works recursively :/

Oh and also: lots of front-end developers are relatively speaking weak in terms of architecture and general programming ability. (There; I said it.)

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

Re:Show HN: Mest – Place to talk with those you disagree with by andrewmcwatters on Wednesday November 09, 2016 @12:21PM (#12912269)
it's 2016
Re:Show HN: Mest – Place to talk with those you disagree with by nilved on Wednesday November 09, 2016 @01:50PM (#12913336)
What a horrible place 2016 is.

The JavaScript is uncompressed and has 6 columns of comment characters on every line. There's really no excuse. This site did not even need JavaScript.

Re:Show HN: Mest – Place to talk with those you disagree with by pjc50 on Thursday November 10, 2016 @06:16AM (#12919458)
> 6 columns of comment characters on every line

The reinvention of COBOL?

Re:Show HN: Mest – Place to talk with those you disagree with by johansch on Wednesday November 09, 2016 @02:46PM (#12913915)
Spotted the front-end developer.
Re:Show HN: Mest – Place to talk with those you disagree with by andrewmcwatters on Wednesday November 09, 2016 @03:14PM (#12914194)
Haha! Yeah, but I don't believe this was necessary at all.
Re:Show HN: Mest – Place to talk with those you disagree with by astrodust on Wednesday November 09, 2016 @12:46PM (#12912586)
2MB is the ante to get at the big boy's table.
Re:Show HN: Mest – Place to talk with those you disagree with by andrewmcwatters on Wednesday November 09, 2016 @05:34PM (#12915448)
what compels someone to downvote this?
Re:Show HN: Mest – Place to talk with those you disagree with by inimino on Thursday November 10, 2016 @05:29AM (#12919235)
It's not clear what point you're making and it doesn't seem to add much to the conversation.
Re:Show HN: Mest – Place to talk with those you disagree with by pvdebbe on Thursday November 10, 2016 @09:55AM (#12920830)
Stating the current year is not an argument.