Life As A Function

Photo by Arif Riyanto on Unsplash

I’ve been immersing myself into learning how to program. It struck me how I can frame life around functions.

What are functions in programming?

Functions are blocks of code that accomplish a specific task. Functions usually “take in” data, process it, and “return” a result.

We can look at life through this lens as well.

The Input

We all receive inputs from life itself. We get our parents, environment, country, culture and most importantly, time.

The Processing

Now the important part is how do we process all these inputs.

Some individuals get amazing inputs for being a wealthy person. Rich parents, good network and great education, but somehow the processing of these inputs end up returning a drug addict on the brink of poverty.

The Return

What we expect our life to be.

Sometimes we expect life to return us our goal without changing our processing.

We want an amazing relationship but we don’t improve our communication skills or heal our traumas.

We want to be successful but we don’t put in the real work we know we need.

As I learnt in programming, when the function is returning something unexpected, it is because you processed something wrong.

In conclusion

To get what we want in life, change your inputs and process them better in order to return what you really want in life.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store