Self-documenting code is one of the biggest documentation myths in the software industry. This view generally conflates documentation with code comments. I’d like to make two arguments in this post: Code comments have value Documentation has more value than just explaining how software works Source: “My Code is Self-Documenting” — Eric Holscher – Surfing in […]
For the last few years, I’ve been using impromptu for setting my bash prompt. However, it felt in perpetual beta status and I wanted to try out something new, so today I installed bash-git-prompt and am giving it a try. It was super easy to get started with it following the instructions. Run brew update Run brew install […]
The command line is my IDE. Vim is my editor and all the functions and programs in bash help me be a better developer. As much time as I am writing code though, I also am often spending a lot of time looking through logs to see what is going on. Over the last five […]
When are you using the command line? I use a python script and a change to my HISTTIMEFORMAT to keep track of when I am active on the command line. Since I use vim, this means that every time I launch my text editor along with every time I run a command is recorded. This […]
The commit message should explain Why, not what Atomic commit. As small as possible Don’t commit commented out code. Just remove it. Before it goes into master/trunk, always have at least two sets of eyes on it. You only have one set even if you have glasses.
My friend John built plugin for writing tweet storms in WordPress. I’ve now used it to tweet storm about salary negotiations and WordPress committer stats in 2016. I like it, but I wasn’t super happy with how it split up the the post into individual tweets. It essentially just splits it up so that each tweet is […]
Upon the most recent update for macOS ( version 10.12.2), I was being prompted for my SSH passcode every time I would ssh into a server. As someone who moves between servers often, this got annoying. Thankfully, a new config option can fix this: UseKeychain yes Just add that to your .ssh/config and you don’t need to […]
HHVM has now released it’s second long term support release and PHP 7 is in the final stages of implementing changes. It’s an exciting time for PHP and to be a PHP developer which means it is also an exciting time to be a WordPress developer since it creates an opportunity for WordPress to once […]