Live data from Hacker News

Why is front-end development so unstable? (2018)

breck-mckye.com

81–90 of 181 posts

Re: Why is front-end development so unstable? (2018)

#81
post #56

Frontend is unstable because it attracts ppl whose attention span is often lower than the one of a goldfish. Every JS frontend dev I met was speedrunning trying to prove himself by "inventing something new" which in fact was already a state of art. The amount of rehashing and reinventing the wheel with new catchy names in the field is staggering. TBH, if the field wants to improve -> its time to ditch JavaScript and…

Does WASM make more sense?

Re: Why is front-end development so unstable? (2018)

#82

I'm the author of this piece. I no longer think front-end suffers the instability people accuse it of. I think there are a lot of _vendors_ trying to usher in a revolution around their particular products - there's a lot of VC funding in JavaScript tooling nowadays - but that's a different problem.

You covered the frameworks, but a lot of the feeling comes from the tooling and library ecosystem. For example, a recap of the last 10 years: - grunt / broccoli / gulp / browserify / webpack / metro / esbuild / parcel / swc / turborepo / bun - flummox / redux / unstated / mobx / mobx-state-tree / xstate / apollo / apollo-link-state / swr / react-query / zustand / recoil / jotai And this is just within React, and off…

Webpack has been the de facto build system for react since 2017

Competing state libraries is to be expected but picking redux or mobx has let you use the same ones since 2017

JS itself has improved but hasn’t really ever deprecated anything, it just grows and adds terse methods to the language

Npm and yarn are among the best package managers

React hooks were the only major change you’ve touched on but even they didn’t deprecate class based react or change library semantics very significantly

Re: Why is front-end development so unstable? (2018)

#83
post #48

Earlier quoted context omitted.

> Pretty much anything after C/C++ era comes with a usable build system, modules and a package manager. JS is really stuck dealing with insanely low level issues in shit ways for various historic reasons. But of course JS needs neither a build system (runs from source files) nor a package manager (runs from URLs) and recently even plugged the "no modules" hole.

> recently even plugged the "no modules" hole I haven’t heard about this. Do you have a link so I can read more?

Well, they added modules some time ago and now they're widely supported. Not quite sure what more there is to say about that. Aside from botched variable scoping, that was probably my biggest grip with JS (but `let` fixed scoping many years ago as well).

Re: Why is front-end development so unstable? (2018)

#84
post #82

Earlier quoted context omitted.

You covered the frameworks, but a lot of the feeling comes from the tooling and library ecosystem. For example, a recap of the last 10 years: - grunt / broccoli / gulp / browserify / webpack / metro / esbuild / parcel / swc / turborepo / bun - flummox / redux / unstated / mobx / mobx-state-tree / xstate / apollo / apollo-link-state / swr / react-query / zustand / recoil / jotai And this is just within React, and off…

Webpack has been the de facto build system for react since 2017 Competing state libraries is to be expected but picking redux or mobx has let you use the same ones since 2017 JS itself has improved but hasn’t really ever deprecated anything, it just grows and adds terse methods to the language Npm and yarn are among the best package managers React hooks were the only major change you’ve touched on but even they didn’…

These are not really counterarguments to the fact that things change a lot here, and newcomers and veterans alike need to continuously learn, and pick the best. None of these started off as the default choice, I remember when each and every one of these was the weird / risky option.

Re: Why is front-end development so unstable? (2018)

#85
post #34

Front end develoment has never been more fun if you can keep up with the pace. Finally all major browsers have decent standard support (no Internet Explorer anymore), so crutches like jQuery are not needed anymore. Developers constantly find new ways to implement front end apps, and they are not afraid to break backwards compatibility. This may be bad if you have an old monolith to maintain, but overall it's a good t…

> Have you looked at what speed Chrome devs are implementing new APIs? It's insane. And great.

It's not great. It is bad, really. It means no one that hasn't dozen millions of dollars can implement or even just maintain a viable browser that can keep up. And since we expect browsers to be free, that means… "complicated" business models cough mostly¹ relying on ads and tracking cough to maintain the Web.

I which it wasn't this way really. There was a time when it was possible for a few people to implement a quite good browser engine in their free time. KHTML. So good, in fact, that it was chosen as the basis of WebKit (and therefore Blink). This does not seem possible anymore.

1. There's Apple maintaining a browser engine without relying on ads, but their business model is also questionable.

Re: Why is front-end development so unstable? (2018)

#86
post #72
post #62

Earlier quoted context omitted.

Thank you! Part of the reason that I love these front-end threads is because inevitably somebody will make a fool of themselves by spouting anti-js-dev "backend master-race" nonsense, and this certainly did not let me down.

It would be true if I was working in backend development. I dont. JS is just not good enough for what we want it to do. Someone sooner or later has to make a decision to move further.

No. JS is here to stay, better get used to it.

Re: Why is front-end development so unstable? (2018)

#87
post #48

Earlier quoted context omitted.

> Pretty much anything after C/C++ era comes with a usable build system, modules and a package manager. JS is really stuck dealing with insanely low level issues in shit ways for various historic reasons. But of course JS needs neither a build system (runs from source files) nor a package manager (runs from URLs) and recently even plugged the "no modules" hole.

Majority of people using JS with these frameworks are using package management and bundling - and suffering because the ecosystem has such shitty tools for dealing with it. If you're linking jquery from your favorite CDN and writing your code inside of tags you're not dealing with the issues this article is describing.

Right. But that's their choice. I actually really like what Mithril.js did, regarding decisions on size, complexity, distribution as a single file, etc. Pretty much the only thing I'd like more would be if some similar library targeted both HTML5 web and Sciter (since Sciter does some things in its own -- and very efficient -- way and it would be interesting if something filled in the details in the web platform that web omits but Sciter does not to come up with something Mithil.js-like but also usable on desktop).

Re: Why is front-end development so unstable? (2018)

#88
post #48

Earlier quoted context omitted.

> Pretty much anything after C/C++ era comes with a usable build system, modules and a package manager. JS is really stuck dealing with insanely low level issues in shit ways for various historic reasons. But of course JS needs neither a build system (runs from source files) nor a package manager (runs from URLs) and recently even plugged the "no modules" hole.

Majority of people using JS with these frameworks are using package management and bundling - and suffering because the ecosystem has such shitty tools for dealing with it. If you're linking jquery from your favorite CDN and writing your code inside of tags you're not dealing with the issues this article is describing.

This. Use what works and is stable. I strongly dislike JS (PTSD, perhaps) but when it comes to minimal code to get the job done, jQuery is where it's at: the perl of JS frameworks.

Re: Why is front-end development so unstable? (2018)

#89

I'm the author of this piece. I no longer think front-end suffers the instability people accuse it of. I think there are a lot of _vendors_ trying to usher in a revolution around their particular products - there's a lot of VC funding in JavaScript tooling nowadays - but that's a different problem.

You covered the frameworks, but a lot of the feeling comes from the tooling and library ecosystem. For example, a recap of the last 10 years: - grunt / broccoli / gulp / browserify / webpack / metro / esbuild / parcel / swc / turborepo / bun - flummox / redux / unstated / mobx / mobx-state-tree / xstate / apollo / apollo-link-state / swr / react-query / zustand / recoil / jotai And this is just within React, and off…

Just to chime in here for anybody reading along:

I work full time as a software developer doing react. I have got literally no idea what almost everything you listed is.

"Broccoli"?

I have heard: grunt, gulp, webpack, metro, redux, and recoil. The rest of those could be sarcasm for all I know.

Re: Why is front-end development so unstable? (2018)

#90
post #49
post #41

Earlier quoted context omitted.

If you started with Vue two years ago, you had to learn Vue 3 shortly after that. With a new Vuex. Which has been dropped since in favor of Pinia. Oh, Vite has been developed since, so you may want to add this to your stack, because it makes compiling during development so much faster. Also, be aware of all the breaking changes that Webpack 5 has introduced. I hope front end development will be more stable in future,…

The Vue 3 disaster (in my opinion) shook my trust in the framework forever. I immediately knew this is not a framework I will spend any more time in. What if I "upgrade" my apps to 3 and then Vue 4 comes along with yet another fundamentally different concept? This is not acceptable for apps with any kind of long time support requirement. Yes I know, Vue 2 paradigms are still usable in 3 but they feel very deprecated.

Don't think Vue 2 to Vue 3 is that bad, certainly nothing like AngularJS to Angular. You can still conservatively upgrade piecemeal elements of your stack and most of the code still just works.
Post reply on HN