Writings by Tom de Bruin (@deadlyhifi), a software engineer who cares about all the things. more…

JS Testing and Stubbing Methods Wrapped by a 'Store'

Maybe it's obvious and that's why I didn't find much about it in my searches, or my search criteria were off, or whatever, but it took me a while to figure it out. Then I keep forgetting and scratch my head for half an hour everytime, so I'm writing it down.

Here’s a simple class, MyStore, that...

Read on →

On Refactoring

Do you clean your home? Do you take your rubbish out? Have a tidy up? When it's aged do you redecorate? When you feel like a change, for your surroundings to work better, do you remodel?

Why? Things get used, your needs change over time… you need to keep a mental model of where things are so you...

Read on →

My 2016 Year in Review

2016 has been dire: Brexit, Snoopers charter, Donald Trump, I despair – but personally it has been a triumph. At the beginning of this year I set myself a challenge – to move up. Well, actually the challenge started about 3 years ago. The challenge then was to catch up ten years of career develo...

Read on →

Super Duper Power Key (change capslock, you don't use it anyway)

Brett Terpstra (a power user hero) wrote about this back in 2012, and here I am documenting my version of it (and the apps have since been renamed).

The capslock key is somewhat useless yet it takes up so much space on the keyboard. Power users (like me, ha) also have a lot of keyboard shortcuts...

Read on →

A Day of REST Conference

I’m on the train home from London after 2 of days of learning about the new WordPress REST API.

Day one was the conference itself, and the second a hack day. The whole event was organised by Human Made, who’s employees, among others, have been spearheading the project — A project that is g...

Read on →