If you really want to get the story of the code you write, follow literate programming for the initial few days. There is a high probability that you might continue once you are used to it which is obviously a very good programming practice. Literate programming was introduced by Donald Knuth. His idea was to write a program as the thoughts flow. However the syntax of the program hinders that thought process.
Knuth suggested writing the story of the code as the thoughts flow and embedding suitable code snippets in it. You get the whole program if you pull out only the source code from the story. Let us see a simple example of how to do literate programming for adding two numbers in C programming language.
#+Title: Program to Add Two Integer Numbers
#+Author: Prakash B H
#+Date: 31 May 2016
This document explains how…
View original post 331 more words