Code Should Tell a Story

The key to writing maintainable code that doesn’t make future developers want to scream at you is to follow a simple rule: “Code should tell a story”   What defines that? The code should be immediately understandable. Anyone in the future who jumps into the project should be able to look at your code and […]

The Myths of SEO

Saying “I know SEO” is disingenuous. The only people who “know SEO” are the engineers who write the ever-changing search engine algorithms that determine which sites have “good SEO” and which sites don’t. Yet, we have so many self-proclaimed SEO experts offering their services. How did we get to this point? In the past, it […]

Check if Folder Exists in Ruby (Case-Sensitive)

Ruby’s Dir.exist? is tied to your OS, which may or may not be case sensitive when it comes to directories. That means that it is possible for a directory named ‘Derp’ to exist, but Dir.exist?(‘derp’) would return true. Here’s a convoluted piece of code to get past that. It adds another method to the Dir […]