Articles

Cover image for Using factories for testable services in the front-end

Using factories for testable services in the front-end

Posted on

Instead of complicated mocks depending on multiple libraries, export your services via a factory, opening the path for dependency injection and easy unit tests.

Cover image for Moving this website from React to Preact

Moving this website from React to Preact

Posted on

In essence, you're making your website/application faster for your users, end up with smaller payloads, and build code in less time (thus saving money). What's not to like?

Cover image for On having kids

On having kids

Posted on

A collation of opinions about having kids, based on a couple of Hacker News' posts.

Cover image for A(nother) list of tech talks to watch

A(nother) list of tech talks to watch

Posted on

Everyone has their favorites. These are mine. (Updated over time.)

Cover image for What sort of culture do I prefer?

What sort of culture do I prefer?

Posted on

As asked in job interviews, what are you looking for in a company? What's the best culture for you?