Search
Understanding the Almighty Reducer
13.6.2018
I was reently mentoring someone who had trouble with the .reduce() method in JavaScript. Namely, how you get from this:
const nums = [1, 2, 3]
let value = 0
for (let i = 0; i < nums.length; i++) {
value += nums[i]
}
...to this:
const nums = [1, 2, 3]
const value = nums.reduce((ac, next)...
Practical Jokes in the Browser
28.4.2018
I know April Fool’s Day is at the beginning of this month, but hey, now you’ve got a year to prepare. Not to mention a gool ol’ practical joke can be done anytime.
Fair warning on this stuff… you gotta be tasteful. Putting someone’s stapler in the jello is pretty hilarious unless it’s somehow...
Exchange Rates and Currency Conversion with fixer.io (Sponsored)
22.3.2018
My most stressful tasks as a coder have always revolved around money. Whether you’re coding a site for a client, your own business, or your employer, you want to be damn sure that any handling of currency is accurate, secure, and localized. We always want our code to work but when...
Someone Beat The Zelda DLC's Boss Naked And With Three Hearts
3.1.2018
No shirt, no shoes, no problem.Read more