Building vim-netrw-signs: Introduction

I thought of another Vim plugin idea a while back at Vim London, which happens to be my second of such ideas, the first being vim-enmasse. My plan is to build this plugin over the coming weeks (probably months, ideally not years) and take you along for the ride with these brief posts. From git […]

Hello again, WordPress

Once again I’m reworking my personal website and blog. This time I’m aiming to journal my progress through projects that I work on in my free time (such as Vim plugins) as well as the odd rant or tutorial post, as I have written in the past. I felt that trying to force myself to […]

Installing Vimdeck on Arch

I’m going to be talking at Vim London again on Tuesday, so I thought I’d knock a quick presentation together. I was planning on using Vimdeck but it turns out it freaks out on Arch based Linux distributions, such as Manjaro (probably some other Linux distributions too). When executing gem install vimdeck it tries to […]

Always remain a beginner

I’ve been programming for about five years, almost entirely in JavaScript, three of which being professional. I’m an absolute beginner and I always will be. This is a good thing. Why remain a beginner? Because a beginner will never stop learning. A beginner must continually progress or they will stall in their learning, stalling brings […]

Test private methods

If you’ve barely passed the title and you’re already seething with violent rage: This post is for you. Like medicine that smells of battery acid, this’ll taste bad and potentially kill you but you’ll feel better for it in a few days. Let it settle in for a bit, mull it over. Herein lies my […]

Graph from scratch

James mentioned the other day that he was drinking tea “at a rate of 0.75 OC”, OC being the base speed at which I myself consume a mug of that wonderful brown liquid. A little flurry of tweets ensued which resulted in me kind of accepting a joke/challenge using a meme. This post is mainly […]

Grabbing elements from the DOM

If, like me, you actually quite enjoy working with the vanilla DOM implementations, you may wonder how you’re actually supposed to find the elements in the first place. I’ve been using quite a nice technique for a while now that allows you to have hyphenated names in your HTML, but keep camel case in your […]

Do things that scare you

No, I’m not advocating base jumping while defusing a bomb, that’s a different kind of scared. I’m talking about things like learning Haskell or tackling TDD for the first time. Things that you can’t or won’t use right now. Things that make you go “eh?”. I’ve only started looking for things that I don’t like […]

Classless JavaScript – Continued

This is a follow on from my previous post, Classless JavaScript. You might want to read, or at least skim, that first. I’ve been having a think about all this classless JavaScript stuff, which is basically normal JavaScript without traditional constructors, and I’ve come up with a few ideas to refine it. The first of […]

Classless JavaScript

As JavaScript developers, or even web developers as a whole, we seem terrified by the thought of direct usage. No technique or idea seems to be considered “legit” until it has been abstracted by several layers of syntactic sugar and, potentially useless, fluff. One of the common abstractions is the addition of “classes” to JavaScript; […]