Those of you coming from a Google search are about to be disappointed.
When you name a class, choose a name that’s unlikely to refer more than one...
Don’t try to cram too much into a small space.
In the latest Humans Present, I sit down with Joe Ferris, our CTO, and we...
Here’s a refactoring example for a simple Ruby math problem using the inject...
This method has a magic number:
def wait_time
@env[QUEUE_WAIT_HEADER].to_i...
What are the fundamentals of good code?
We’ve been paying closer attention lately to how we use design patterns in...
You probably don’t write code like this:
if object.kind_of?(User)
do_this...
Give low complexity to your high-churn code.