News for hackers. Stuff that matters.
Re:Why is modern web development so complicated? by chews on Wednesday August 07, 2019 @07:50PM (#20640447)
funny, that is the pattern I use, I don't consider it kiddy... it's just efficiant and easy to drop in.

le sigh

Re:Why is modern web development so complicated? by FussyZeus on Wednesday August 07, 2019 @09:47PM (#20641093)
I mean, if all you're doing is showing and hiding a mobile menu, you can do that in a really expanded form in like 5 lines of vanilla JS, and not have your user download 90 KB* of crap.

*And you BETTER be using the minified version for production.

Re:Why is modern web development so complicated? by Roboprog on Wednesday August 07, 2019 @11:15PM (#20641541)
90 KB is probably bad for a marketing page, but it’s nothing for a B2B or internal use app, particularly when the second use is just the “you already have it” HTTP header response.

Good or bad depending on context.

Re:Why is modern web development so complicated? by FussyZeus on Thursday August 08, 2019 @09:25AM (#20644282)
I don't disagree, but when so many public websites are unloading megabytes of Javascript for simple tasks, it feels like that attitude is the core problem. I'm not opposed to using frameworks when they're needed, I just have a problem with people using them to shorten up already short and very easy code because they can't be bothered to Google for a few minutes.
Re:Why is modern web development so complicated? by johnisgood on Thursday August 08, 2019 @05:02AM (#20642898)
Is bloat sometimes a good thing?