Sankara katabathina
4 min readAug 16, 2020

--

Yoga and Meditation Explained Through Programming

I am a Software Engineer by profession and writing blogs in technology is my interest.

you might be wondering why is this person talking about Yoga and Meditation here. how is it related to Software or technology. we will discuss this in a while.

Yoga and Meditation are buzz words in many countries. i am not going to debate on where it born and who practiced it first. But i would like to discuss about the essence of these two buzz words.

whether we know it or not each one of us would be practicing both, one way or the other way.

is it true ? every one from east to west, south to north practicing yoga and meditation ?

The answer is YES !! may be in different forms.

i would try to explain what is Yoga and Meditation Programmatically, which might give my inner feeling for the above answer.

Human body is made up of different Mechanical and Electrical parts governed by Software Program running in Brain.

In my view Mechanical parts are bones, muscle and joints

Electrical parts are blood and fluids (current), Electrical machinery are heart and other internal organs which are dependent on blood and nerves are electric wires to carry current.

Electronic control board contain set of micro controllers running a Software program is brain, and it is responsible for sending instructions (digital codes) to machinery to run and move different mechanical parts.

Yoga is a practice to send set of instructions to brain to move certain parts of our Electrical body parts. This would eventually take out toxins deposited over a period of time in different electrical and mechanical parts and keep them healthy.

Meditation is a practice of cleaning the unwanted code and formatting the code written in Software Program running in brain.

let me explain in detail.

Every one in this universe born with simple program like below.

import milkyway.sun.earth.*;public class MyNameUUID implements UniversalHumanInterface{public static String RESULT = "COMPLETE"

public static void main(String[] args){
sendResult();
}
@Override
public String sendResult(){
return RESULT;
}
}

We(humans) would not be happy with looking at simple code like above, so as we grow we build complex logic by exposing to different relations, challenges, happy, anger, ego and lust.

each one of it forms functions, if/else conditions, loops, static variables, temporary local variables, and also build entirely different class and make relation between them.

import milkyway.sun.earth.*;public class MyNameUUID implements UniversalHumanInterface{public static String RESULT = "COMPLETE";
Relatives myrelatives;
public static void main(String[] args){
if ( work().more ){
RESULT = marriage();
RESULT = kids();
}else{
RESULT = work(like);
}
}
@Override
public String sendResult(){
return RESULT;
}
Money work(){...}
Pride work(like){...}
Happy marriage(){...}
Happy kids(){...}
Happy myrelatives.helpall();
Anger myrelatives.leavetherelation();
}class Relatives {
void buildstrongrelation(){...}
void givemoney(){...}
void helpall(){...}
void leavetherelation(){...}
}

This chain of complex logic goes on and on every minute. and at one point of time it is very hard to manage and understand. So we would like to revisit the code and see what and why we have written this code.

some people wanted to do this cleanup early age ( 18–25 ) and some people do not wanted to revisit the code and happy being writing the code on and on..

majority of the people would realize to revisit the code in their mid age ( 45–60 ).

When we sit back and start reading the code we have written from many years, at first we may not be able to understand why we have written this code. we should keep looking at it and see what is important and what is not, clear the unwanted code, well format it and make only essential relations between the class. This cleaning activity is called Meditation.

Meditation process is ones choice, we could ignore putting extra effort to cleaning the code, we could clear portion of the code and leave the reset or we can completely format the code, This may take years because it all depends on ones effort to understand the code and make effective decision on what to keep and what to leave.

once we format the code in such a way that we can understand it at any point in time, we would be able to add only good and necessary code which we may write in future.

if we further simplifying code we end up having a class like below.

import milkyway.sun.earth.*;public class MyNameUUID implements UniversalHumanInterface{
public static String RESULT = "COMPLETE";
public static void main(String[] args){
sendResult();
}
@Override
public String sendResult(){
return RESULT;
}
}

Exactly, we would not have anything in individuals class except what we had when we born. This is called Realization

some people may try to understand the code written on the other side of the UniversalHumanInterface.

some people may not be able to understand the code which they have written so they would seek help from others who were able to understand their code and go in their path.

In reality one does not need any ones help to understand their SELF written code, we need to keep practice to understand by our self. we would be able to better judge on what is required and what is not and decide accordingly.

This is the essence of Yoga and Meditation in my view 😃 ⏳

--

--