-
It was like that when I found it..
A fun RSpec gotcha: a self-referencing let block that segfaults on Ruby 2.1 and above.
-
Is that an object I see in your pocket..
A worked Ruby example of object extraction done halfway, and how finishing the refactoring properly leaves the code in a much better place.
-
Are all editors equal?
Why I stick to common GUI editors as a contractor, and a plea to stop pushing heavily customised vim setups on junior developers.
-
Time v’s Output
More hours at the desk doesn't mean more output — why regular breaks matter for long-term productivity when the work is mentally hard.
-
Don’t fear the delete button
Advice for new developers: know when to delete the bad branch or throw away the wrong data model and start again — it will cost you less than pushing on.
-
I Love my dog
So much that I made a separate blog just for her and her adventures in the world.
-
Dynamic Directive Injection
A small Angular directive that injects other directives dynamically, so different users can get different features behind feature flags.
-
Why was this sooo hard
Setting up this blog took far more effort than it should have — non-responsive themes, comments off by default, and no sharing buttons.
-
You’re doing it wrong..
I spent two days building the wrong thing because my understanding of the requirements didn't match the client's — and thought about how to stop that happening again.
-
Process Queue v’s Promise Chain
Keeping tag updates in order in an Angular app by chaining promises, instead of building the Ruby-style process queue I first reached for.