Tag functional programming
I'm So In Love with Enumerable#inject
Enumerable#inject is the most flexible method for iterating collections with awesome possibilities. Let's take a look on some examples where it actually fits better than other Enumerable methods.
Why You Don't Need OOP in JavaScript (So Much)
After I did some research on OOP in JavaScript, I realized I don't need it so much. I'm used to do pretty much everything via OOP, since it's the way how Ruby, my primary language works. But JavaScript is different.