Hacker News new | ask | show | jobs
by harryf 3801 days ago
Oh another JavaScript framework. Of course the world needs that.

If I was recommending a development path to a young developer I would have to say choose the "dark side" and become an app developer and let Apple / Google feed you your framework. Don't waste your time on the web - you'll waste your life learning this weeks flavor of the month framework while lacking core understanding of the underlying technology ( https://wdrl.info/archive/121 ) and never seeing your code amount to anything but a series of band aid and kludges.

4 comments

> Oh another JavaScript framework. Of course the world needs that.

We're trying to avoid snarky dismissals here, especially in response to new work. Substantive criticism is fine, so this comment would be better with just the second paragraph.

It's not another framework. It's not even another library. It's an implementation of an existing library with some features cut out.
We have so many choices in the javascript ecosystem that it's pretty impossible to make a meaningful choice.

But, it's very possible to lose time trying to figure out what you "should" choose or even what your choices might be.

And since that's what the parent is bemoaning, your distinction is pretty useless.

Note: If you want to use react then the correct choice is react + redux + webpack. If you want to validate a startup idea, then the correct choice is jquery :)

> Don't waste your time on the web

I feel sorry for the young developer

Silly downvoters: they are responding to your tone rather than the content of your post.

Anyway, for sure there is a tonne of cruft and confusion when starting a new js project(SPA app) nowadays. Esp if you want to use react: it's one of the blessings/curse of using a library vs a framework.

If, however, you stop looking for the "right" way to do things by reading blog posts etc,and just take the easiest path with react, then redux and webpack will take you far enough.

I downvoted because of both content and tone.

The web is the platform that works across all devices. Sure an app is great when you already use that site, but before they're invested, are people really gonna download an app?

Not to mention that you're heavily reliant on Apple and Google for your framework. With the web, you can use whatever you like, you can even roll your own if you want.

Sure there are a lot of JavaScript libraries, but how else will ideas evolve?