Issue #196 (React Tools, Testing/Debugging, Multimedia)

James Sinclair has written three excellent articles on writing less complex JavaScript, all of which I highly recommend for both beginners and advanced JavaScript developers.

In the first article, he talks about how indentation is an indicator of code complexity. His complex code vs. simple code image makes the point nicely, and it's something I probably haven't given enough thought to myself.

In the second article, he focuses on how to deal with arrays without relying heavily on loops. Again, the goal here is to make the code less complex, and he's able to accomplish this using some more elegant JavaScript techniques.

Finally, the third article goes over ways to make your code "less iffy", that is code that has fewer conditionals, which can add unnecessary complexity.

There might be more of such articles in the future from James, so keep an eye on that and be sure to find some time to go over those first three. There are lots of clear and practical examples demonstrating the techniques he's promoting.