JavaScript
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…
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…
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…