Write Code for Humans, Not Computers

By on January 17, 2021 in Coding with 0 Comments

When you’re writing code, you’re writing it primarily for other people and only secondarily for the computer. For any given problem, there’s generally a myriad of solutions that produce the desired output, with varying degrees of computational efficiency, but, with few exceptions, the optimal choice is the one that’s clean, clear, and easy for human beings to reason about.

Continue Reading »

Connecting to a Heroku PostgreSQL Database with DataGrip

By on February 18, 2019 in Coding with 0 Comments

If you’ve ever tried to use DataGrip to connect to a Heroku PostgreSQL database, you’ve learned that it doesn’t work out of the box. In this post, I’ll show you how to adjust your settings to have it working properly in no time!

Continue Reading »

Learning to Code? Don’t Major in the Minors.

By on February 13, 2019 in Coding with 2 Comments

You’ve been thinking about coding for a while and, these days, it seems like everyone is learning how to do it. You carve out some time on a Saturday afternoon, sit down at your computer, and decide that today is your day: you’re going to embark on a journey to become a programmer. Now, you stare blankly at the screen.

Continue Reading »