Code is communication. It has two audiences: the computer, and the future maintainer. How we communicate with the computer is rather objective: you either gave it the instructions to do what you really wanted, or you didn't.
But people aren't so easy. As computer programmers, we channel our hopes, dreams, and moods into our writing. WordPress popularized the slogan "Code is Poetry". To me, it reads as a true statement.
There are as many ways to write code as there are programmers, and we all do it a little bit differently. There's beauty in this diversity, but it also makes it harder to be understood. And the harder it is to read code, the longer it takes to maintain and extend it. Time is money, so this is a bummer when it comes to building a tech business.
How can we effectively communicate with other humans when we're programming? Write code with style! In this post, we'll explore seven rules of thumb that you can use to write cleaner code.Read More