Javascript Classes vs. Closures – Testability

This post is the last in a three-part series comparing two close substitutes in Javascript: classes and the “closure pattern” (also frequently known as the factory class pattern). Part one argued… Read more

Similar

JavaScript: Value vs. Reference

When I started learning JavaScript, one of the topics that confused me at the beginning was understanding the difference between value and reference. In this post, I’ll guide you through examples with pictures how copy by value and reference work in JavaS... (more…)

Read more »