Bringing Jinja to JavaScript

About 6 months ago I was trying to work out how we (Lyst) could share templates between the server (Python) and the browser. On the server we are using Jinja2 templates, and in the browser we are using Underscore templates, and although both were working fine there were many occasions where we would have liked the felixibility to be able to render the same template in multiple environments.

» Read more

Giving in to BEM

For those not familiar with BEM (block, element, modifier) it's basically a naming convention for CSS that is designed to make it easy for other developers to understand what the hell your CSS does. I think when I first saw it I thought it was a joke created by some disgruntled Java developers tired of XML being the ugliest thing in software development, or that maybe two developers couldn't decide whether to use hyphens or underscores for their class names so just decided to use both.

» Read more

hello, world

I really wanted to write something poignant for my first post on this site about my journey so far as a developer and why I wanted to start writing a blog, but having spent the best part of the last 6 months trying to write something and failing miserably this will have to do.

» Read more

Type Checking in JavaScript

This post was originally posted on the Badoo Tech Blog

» Read more