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.

Advertisements

Durable

The ancient Indians recognised the human body to be frail and prone to problems.

However, a consciousness pervades the human body and the nature of this was held to be of a different nature.

Krishna indicates the nature of this immanent self.

na jāyate mriyate vā kadāchin
nāyaṁ bhūtvā bhavitā vā na bhūyaḥ
ajo nityaḥ śhāśhvato ’yaṁ purāṇo
na hanyate hanyamāne śharīre

This can be roughly translated to:

The self is neither born, nor does it ever die; nor having once existed, does it ever cease to be. The soul is without birth, eternal, immortal, and ageless. It is not destroyed when the body is destroyed.

– Bhagavad Gita 2.20

Face

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.

Time and space, continued

Grasping the intricacies of time and space continues to be one of the most interesting aspects of the natural world.

Ancient Indians had pondered for long how the interplay of desha (time) and kaala (space) takes place.

It is interesting to note the sanskrit word varsha which can a year (as in time) or a country (as in Bharatavarsha, or the land of Bharata).

Communication

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.

Time and space

Understanding time and space from a scientific viewpoint is one of the eternal quests of mankind.

Transcending time was also one of the goals of the ancient Indians. Thus the phrase “sanatana dharma” (eternal dharma) is used to describe the Hindu religion.

In the Bhagavad Gita, Krishna narrates how he is the embodiment of Time, as he reveals his universal form.

kālo ’smi loka-kṣhaya-kṛit pravṛiddho
lokān samāhartum iha pravṛittaḥ
ṛite ’pi tvāṁ na bhaviṣhyanti sarve
ye ’vasthitāḥ pratyanīkeṣhu yodhāḥ

This can be roughly translated to:

Time I am, destroyer of the worlds. Even without your participation, the warriors arrayed in the opposing army shall cease to exist.

– Bhagavad Gita, 11.32

Serving

Serving up a good user experience is one of the prerequisites of any software.

Sufficient redundancy and non-stop access is essential for any server implementation.

Generally, service appears to be one of the basic aspects that needs to be learned to achieve success especially in the IT world.

Next

Thanks to the faculty of intelligence, humans can contemplate the consequences of actions.

Forests used to cover 99% of the entire earth at one point. What happened next is human civilization uprooted this green cover and built vast countries and empires for human dwelling.

In the Bhagavad Gita, Arjuna begins by having doubts about the battle with his kinsmen because of the fear of what may happen next.

āchāryāḥ pitaraḥ putrās tathaiva cha pitāmahāḥ
mātulāḥ śhvaśhurāḥ pautrāḥ śhyālāḥ sambandhinas tathā

etān na hantum ichchhāmi ghnato ’pi madhusūdana
api trailokya-rājyasya hetoḥ kiṁ nu mahī-kṛite

This can be roughly translated to:
Teachers, fathers, sons, grandfathers, maternal uncles, grandsons, fathers-in-law, grand-nephews, brothers-in-law, and other kinsmen are present here, staking their lives and riches. O Madhusudan, I do not wish to slay them, even if they attack me. If we kill the sons of Dhritarashtra, what satisfaction will we derive from the dominion over the three worlds, what to speak of this Earth?
– Bhagavad Gita, 1.34-35
In the case of Arjuna, Krishna informs him in depth why he is heedlessly worrying about this consequence. The law of dharma ensured that the eternal self immanent in each of his kinsmen was taken to it’s next natural stage.

Math

The discipline of mathematics is interesting as a lot of it mostly takes place inside one’s head.

The inspiration for mathematics perhaps came to our ancestors from nature and solving everyday problems such as counting seeds.

It remains one of the sciences which relies entirely on the mind.

Time

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.