News for hackers. Stuff that matters.
Re:React Tutorial: Cloning Yelp by fbonetti on Thursday May 26, 2016 @01:51PM (#11780038)
The problem with the massive amount of churn is that it just doesn't pay off to learn the new, cool thing when it's going to be obsolete in 3 months or less. I think all programmers, especially ones who read HN, like to learn new things. It's fun to pick up new languages, learn new paradigms, and experiment with different technologies.

What's not fun is learning 10 different ways to handle promises, 4 different build tools, several frameworks, and dozens of new libraries over the course of a year just to keep up. By the time you reach a level of mastery over one of these tools, it's already been replaced by something else! I mean it's great that the tools are getting better, but it's really painful to deal with the constant churn.

/rant

Re:React Tutorial: Cloning Yelp by rtpg on Thursday May 26, 2016 @09:54PM (#11783358)
>it just doesn't pay off to learn the new, cool thing when it's going to be obsolete in 3 months or less.

Does this actually happen? If you had learned Angular way back, you would still be in a comfortable situation. New stuff coming in, but it's compatible with the old stuff.

Same with React. Had you learned react when it was talked about, you would have gotten, what, at least 2 years worth of value by now?

And a lot of the build tools are independent of the tech. Grunt is still fine to use, and people release plugins for it all the time.

And here's the last thing: You don't have to spend 6 months to learn a thing. If you want to keep up, read about it for 15 minutes? That should be enough most of the time to get the philosophical differences between tools you know. And if it does intrigue you enough, engage with it.

This stuff is progress, if we went the other way we'd still be writing jQuery spaghetti code and having state integrity issues up the wazzoo from callback hell. You don't have to ride every train, but you can at least look at them as they go by.

Re:React Tutorial: Cloning Yelp by adamors on Friday May 27, 2016 @07:53AM (#11785367)
Grunt is actually not still fine to use. I've been burnt by a lot of plugins coming out for Gulp only and now for webpack only. What the GP says is true: if you start using any of these JS tools prepare to switch them out every 6 months.
Re:React Tutorial: Cloning Yelp by joshmanders on Friday May 27, 2016 @09:10AM (#11785739)
> What the GP says is true: if you start using any of these JS tools prepare to switch them out every 6 months.

As a full stack JavaScript developer, the tools I used over 6 months ago are also the tools I use today. Only difference is I left Angular for React. But my build tools are still the same. I use Gulp, SASS and Webpack.

You're talking out of your ass if you actually believe something can get to the popularity of Gulp or Webpack and then instantly be "old news" and "not worth using" within 6 months.

Re:React Tutorial: Cloning Yelp by spinlock on Friday May 27, 2016 @12:47PM (#11787219)
The problem is working with fanboys who refuse to use the tools that you've spend a year or two investing in. When the people you work with throw away your projects every couple of months, there's nothing you can do to keep using what works.
Re:React Tutorial: Cloning Yelp by metamet on Friday May 27, 2016 @10:19AM (#11786195)
I'm with you, but there's a strong point with Grunt vs Gulp. Gulp is the new standard, and it usurped Grunt only how many months ago?
Re:React Tutorial: Cloning Yelp by joshmanders on Friday May 27, 2016 @10:26AM (#11786243)
Grunt just released v1.0 and is still a great alternative. People fail to realize just because another way to do something comes out, doesn't mean all of the sudden the previous way is no longer a viable solution.
Re:React Tutorial: Cloning Yelp by abritinthebay on Friday May 27, 2016 @11:52AM (#11786807)
Like... a year ago was the tipping point.
Re:React Tutorial: Cloning Yelp by adamors on Friday May 27, 2016 @02:38PM (#11787977)
You're arguing against a strawman, develop some reading comprehension before you insult people.
Re:React Tutorial: Cloning Yelp by rtpg on Friday May 27, 2016 @11:30AM (#11786641)
Maybe I'm not ahead of the curve enough. Still though, every 6 months? Did you start using Grunt only 6 months before running into this issue?

Maybe I'm reading this too literally, but personally I'm totally cool with using a tool for 2 years and then transitioning to another. 2 years is already a lot of good value.

Re:React Tutorial: Cloning Yelp by adamors on Friday May 27, 2016 @02:43PM (#11788005)
My experience is that the decision to switch is often being made for you. I was perfectly happy with Grunt until some plugin maintainers didn't update the Grunt version and only worked on Gulp.
Re:React Tutorial: Cloning Yelp by spinlock on Friday May 27, 2016 @12:45PM (#11787197)
We started a brand new project in Ember (our second Ember project) in December; launched it in January. We've now started another project in Untangled because nobody wants to work in Ember anymore (apparently, it stopped being cool last year).

So, yes, this actually happens and it's incredibly painful for those of us who want to build a business not throw everything out and start over every few months.

Re:React Tutorial: Cloning Yelp by danenania on Thursday May 26, 2016 @02:44PM (#11780447)
The solution is not trying so hard to keep up. Keep your ears open for the major improvements that rise above the noise, but don't feel like you have to be on the cutting edge. Much of the cutting edge is (almost by definition) misguided or overcomplicated.

The sweet spot if your goal is to actually build something is taking whatever architecture is currently hip and throwing out about 2/3 of it in exchange for a simpler approach. Then circle back for the fancier libraries a few months later if and when you have a need for them.

Re:React Tutorial: Cloning Yelp by mercurial on Friday May 27, 2016 @12:46AM (#11783958)
> What's not fun is learning 10 different ways to handle promises, 4 different build tools, several frameworks, and dozens of new libraries over the course of a year just to keep up. By the time you reach a level of mastery over one of these tools, it's already been replaced by something else! I mean it's great that the tools are getting better, but it's really painful to deal with the constant churn.

I feel your pain, but on the other hand:

- tools with enough users are not going away, even if they're less actively maintained

- it's not like sticking to HTML + jQuery is desirable if you need to build a complex UI

Re:React Tutorial: Cloning Yelp by pavel_lishin on Thursday May 26, 2016 @02:28PM (#11780344)
Especially when even this article points out that webpack is difficult to set up, and basically requires a helper tool.