News for hackers. Stuff that matters.
Re:Yahoo Mail moving to React by rtpg on Wednesday November 26, 2014 @10:30AM (#8662716)
not OP, but some issues I get with JS are mainly due to refactoring. I think the tooling isn't as mature as in other languages, and moving around code has proven difficult (oh the joys of `this`!)

Software development is one part creation, one part understanding existing software, and one part changing existing stuff. Javascript has proven a bit difficult on the last part.

Re:Yahoo Mail moving to React by woah on Wednesday November 26, 2014 @01:00PM (#8663635)
This is likely an issue caused by code that is too monolithic in nature. Writing idiomatic node code involves making many small npm modules. Refactoring becomes very easy within the tiny code base of a module, and moving them around is a matter of require them somewhere else.
Re:Yahoo Mail moving to React by tracker1 on Wednesday November 26, 2014 @08:01PM (#8665485)
Not just via npm, but structuring your project via directory/file hierarchies that limit the amount of work in one file/module.

Avoiding the use of OO contexts and this helps a lot in terms of avoiding side effects, and improving testing and predictability as well.