Great coding

Code that runs great and is easily maintained is said to be great code.

In order for programmers to get to such a stage where they churn our great code takes a lot of experience.

With experience comes the knowledge of the traps to stay away from.


The face is said to be the index of the mind.

Having a good user interface is seen as indication of a good software.

At the same time, providing the advertised functionality is a sine qua non.


Computers have made communication easier than ever.

In order for this to be possible, a vast network of machines is set up.

Machines need to be able to talk to each other, hence the need for elaborate machine protocols.


In programming, one realizes that some of the activities can get repetitive.

One needs to look for common features of such activities.

Automating some of these activities will generally be a great help and time saver in the long run.

Description language

One approach to the problem of have code work across platforms is to have interface description languages.

These IDLs define the data and operations supported and code can be generated and compiled from this on a platform specific basis.

This ensures that though the generated code may be platform-specific, the IDL remains common across platforms.


It is interesting to note how computers have moved from even being conceived of thanks to mathematics.

From this conceptual stage, it moved to vacuum tubes to transistors and semiconductors.

Today, one finds supercomputers, quantum computing and other fascinating developments.

Efficient, continued

On the theme of efficiency, C language is a great option for many applications that have constraints of memory, CPU etc.

The reason is that compiled C code can efficiently utilize limited resources without additional overhead such as garbage collection etc.

The catch of course is that the programmer is completely responsible for memory management.


In choosing programming languages, one can decide on some criteria.

If one looks for quick and easy script without consideration for speed, one may look for python.

However, efficiency can be found in a lower level language like C.

How does it work?

In programming, one often comes across situations where information about existing code needs to be gathered.

Practically, not all the code tends to be well documented.

In such cases, the best bet may be to read the code and try to understand it. Also, in languages such as Python, tools like “inspect” and other built-in runtime functions help massively.


Every programming language has its own set of constructs for any given feature.

Each feature of a language is implemented based on the available resources and the underlying assumptions of the language.

If one wants to have a table of elements with a key, one finds this feature supported in various ways in most modern languages. In a language like C, however, one ends up making one’s own implementation.