News for hackers. Stuff that matters.
Re:Ask HN: Fatigued by the complexity of ES6 tooling. What t... by agnivade on Sunday March 12, 2017 @12:56AM (#13849294)
> Refactoring vanilla js is a nightmare.

Interesting. I think if ES6 is properly used, thats good enough. At least with the sizes of projects I have worked on.

And I think the webpack is the single most awesome thing to happen for front end development. With webpack 2, things are just better than ever. With an overhauled doc site and good examples, its all of the good stuff.

Re:Ask HN: Fatigued by the complexity of ES6 tooling. What t... by gibbitz on Thursday March 23, 2017 @03:03PM (#13943046)
I guess since ES5 is the language spec I've used the longest, I find refactoring vanilla JS to be enjoyable since most frameworks exist to clean up ugliness. Many frameworks add boilerplate and foreign patterns that can make this difficult, though. When I run against this, however, I have to re-assess the value of the framework I'm adding and if it still exists, refactoring is not what's needed as much as a re-write. This is the primary reason for writing code that is modular on as many levels as possible.

I worry about the React/Flux patterns at this point in that they are creating codebases where modularity is specific to their pattern which could be tomorrow's anti-pattern (Prototypejs anyone?). I suspect we'll be cursing refactoring these codebases soon.