-
Criteria pattern for complex filtering in Ruby on Rails | Railsware Blog
A link to Railsware's criteria pattern for complex filtering in Rails — an interesting idea for modular queries, though I'm not 100% sold.
-
Don’t chase your tail.
How I ended up with circular dependencies between my Angular modules, and how inverting the configuration flow — tell, don't ask — fixed it.
-
Value your happiness
Never believe unhappiness at work can be fixed by a pay rise — the best part of some jobs was letting go and moving on.
-
Drugs are bad..
Removing the Pusher dependency from my test suite by running an open source clone on CI, with the RSpec helper and bash script to manage it.
-
Is being lazy bad for you?
I try to be as lazy as possible when coding, but is picking a third-party service because they once gave me a free t-shirt taking it too far?
-
Meta, meta, meta..
Metaprogramming is a tool you should read about and then mostly never use — plus the rare cases where it genuinely simplifies a problem.
-
I assume this is right..
We all work on assumptions every day; the trick is being confident in them while staying ready to pivot when they prove wrong.
-
Start small
Two big pieces of work, both approached the same way: start with a small proof of concept and grow it through a series of mini-projects.
-
Merging never hurt anyone
A contrarian take on git best practice: merge instead of rebasing, never rewrite history, and be proud of your bad commits.
-
It’s all about the learning
Disagreements and feedback are what made me the developer I am — pity the people who think their code is beyond question.