custard doughnuts

not guaranteed

A guide for backend developers writing front end

Wednesday 17th of September 2014

Developers, developers, developers

It's not easy being a backend developer. Not only do you have to code massive websites, you also end up being responsible for maintaining things like build scripts and database migrations, and being called on every five minutes to fix the dev system of the front end developer working on your project, who probably caused their problem in the first place. On top of that, you often have to wait for that same front end developer to get on and give you some front end before you can properly check that your website is working correctly.

As a front end developer, I genuinely sympathise, so here's my thoughts on the best way to work on front end when the front end isn't ready yet.

Read more

A front end convention for class use and JavaScript

Friday 5th of September 2014

Whenever I get asked to work on an existing website I haven't worked on before I tend to find a lot of CSS classes on elements that on first glance don't appear to do anything. As a naturally tidy person, this irks me. Why are they there? Is there some element much further down in the DOM that relies upon that class, or is there some bit of JavaScript somewhere that acts on it? Or is it simply an unused class that can be safely removed?

A quick search through the CSS and JS should answer this question pretty quickly, unless the class in question is a generic word, like 'select' or 'option'. Believe it or not, this happens more often than you'd think.

This isn't a huge problem, it's a small pain that adds a few extra minutes here and there. I'm just tired of it. I'd like to propose the following convention to remove this problem entirely.

Read more

Your questions answered by an expert

Tuesday 26th of August 2014

1. What killed the dinosaurs?

This question is based on a misconception. Dinosaurs (as we call them) are in fact skeletal burrowing creatures that survive to this day. Sadly, they are extremely sensitive to light, heat, vibration, cold, pressure, humidity and trowels. As a result, it is difficult, if not impossible, to successfully uncover a live specimen. This has led to the confusion that they are the fossilied remains of ancient creatures. In short, the answer to your question is: no.

Read more