Ok, maybe that’s a little harsh, but it’s ok, I’m here to help. The technique I am going to discuss was influenced by Test Driven Development (TDD), but it can help you no matter what ideology you follow (even if that ideology happens to be “code fast, fix later”).

I will be using Python for my examples, due to its readability and widespread use, so feel free to click away now if this choice of language offends you.

Ok, so imagine you want to write a simple encryptor and decryptor. If you were following TDD, you would start by writing…

A.K.A. “How to Become a Bash Wizard”

If you’ve ever opened a command line shell, you are likely aware how repetitive and tedious performing even simple tasks can become. Yes, the command line holds great power, representing a beautiful and direct interface with the machine… but let’s be honest: it can also be the source of many headaches.

Note: This post will focus on Unix-like systems like Linux and MacOSX.

Imagine you’re working on a new programming project, and you just want to open and run the code.

First you would need to change to the correct directory:

$ cd…

Devon Hubert - Coding Simplified

Software Developer/Music Teacher in California. B.S. in Computer Science from UCSC.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store