D E V M A T E

Loading

Freepik Illustration Productivity
Your productivity pretty well defines your paycheck, and how much you can achieve during your professional career.
For a developer, productivity basically comes down to implementing functionality (that actually works as expected).
While just sitting down and starting to code in an ad-hoc manner lets you implement functionality, successful developers know that on the long run, the resulting technical dept kills your ability to add functionality to your project.
 
In this article, I show you what is in my opinion the one habit that distinguishes developers that constantly outperform their peers when it comes to coding productivity.
Try it for the next week to see how you can 10x your coding productivity!
 

The idea

When creating new functionality, stick to the following process:

1. Think

2. Specify

3. Code

 
Let’s look at these steps in more detail.
  1. Think of what you want to do. Before writing any code, try to envision what you want to do, as detailed as possible. What is the functionality that you want to implement? What are specific examples that should be covered? If something is unclear at this stage, make sure to clearify it! Talk to someone else who has the knowledge and decision authority to help you (e.g. your dev lead, or your project manager).
  2. Specify what you want to do. By writing down your thoughts from the previous step in a structured way, you can dry-proof your concepts. In other words, you see whether what you envision could actually work, or if some refinement is still needed before implementation. How can such a specification look like? You can e.g. define models that describe your envisioned system (e.g. in UML – read more about UML here) or already define and even implement Test Cases that cover the desired functionality (read more about Test Driven Development here). In many cases, it might already be sufficient to just write and draw down what’s going on in your mind. Either way, if you find out that some of your thoughts do not play out when being specified properly, don’t ignore that! Try to think of a solution. Only start with the final step if you know that everything in your thought actually plays out on paper as well!
  3. Only in a last step, actually implement your thought, based on your particular specification. When you’ve completed the previous step properly, this is simply a translation of your specification to the programming language of your choice.
 

Why does this 10x my productivity?

Of course, there is an overhead compared to just sitting down and starting to code.
So why does this increase your productivity 10x (in the sense of implemented functionality per week)?
  1. Avoid throwing away code: Most problems in software engeineering stem from misunderstood requirements. The issue here is that people start writing code before they actually have a clear picture in mind about what they want to implement. On the other side, one of the biggest pains of developers is when they have implemented something, but then have to decide throwing their implementation away, because it was based on wrong assumptions about what was actually needed. By trying to put all the pieces together beforehand, you see whether requirements are specified to a sufficient degree, and you understand what is required, before actually implementing something. In the end, this helps you avoid the pain of throwing away code that you implemented, but that did not represent what your client actually wanted.
  2. Clear code structure: By thinking about what you want to code, you already get an idea how to structure your code. This makes it easier to stick to patterns and clean code conventions from the beginning, especially if you don’t have decades of experience in development, yet. In the end, this will save you a lot of time-consuming restructuring and refactoring of your code.
 
Try this for a week, and let me know about your results (e.g. in the comments section below)!
 
written by Daniel Lehner

1 Comment

Leave a Comment

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

We use cookies to give you the best online experience. By agreeing you accept the use of cookies in accordance with our cookie policy.

Privacy Settings saved!
Privacy Settings

When you visit any web site, it may store or retrieve information on your browser, mostly in the form of cookies. Control your personal Cookie Services here.

GetResponse, Google Analytics

We use Google Analytics for marketing purposes. You can disable these cookies.
  • __utmz
  • __utma
  • _ga
  • _gat

We use GetResponse for marketing purposes. This service cannot be disabled, otherwise the website functions will be limited.

Decline all Services
Accept all Services
Get Free Access Now to
9 eBooks!
All about Automated Software Testing
Proven experts
Learn to save up to 75% of your test efforts
Get Free Access Now!
Get Access Now! & Save 50%
Personal Trainer FREE Nutrition Custom Workout App
Get Access Now!
eBook Download
Enter your details to get your free ebook!
All about Automated Software Testing
Download Free Ebook
SUBSCRIBE
MY WEB
NEWSLETTERS
Lorem ipsum dolor sit amet, consectetur adipiscing