Taka’s blog

A software engineer's blog who works at a start-up in London

JavaScript

Use JavaScript Custom Errors Better

In the JavaScript world, pitfalls are everywhere; one of them is error handling. This post introduces a good way of using JavaScript's custom errors. TL;DR necojackarc/extensible-custom-error enables you to define handy extensible custom e…

Write Hubot Scripts Easily with Babel ES201x

Using Babel, you can easily write Hubot Scripts with ES201x. TL;DR Configure your Hubot following necojackarc-sandbox/hubot-babel-es201x Code your Hubot Scripts in src/bot directory with Babel ES201x Prologue I happened to need to make a b…

Separate JavaScript Easily and Moderately from Rails with WebPack

Introduction To dive into the world of front-end, I came up with an idea to separate JavaScript easily and moderately from a Rails project. Some have already shared various ideas, but I found them too much or required more than couple of t…