coding-national-curriculum-computingWe are all trying to live a better life each day, by trying to replace our old gadgets and places where we live, work and learn and we are trying to do a lot of different activities, but the happiness and calm seems to be in a far island that is constantly attracting our attention and we are in a never ending journey. But, we should stop and think about this a bit more and try to change our blueprint.  I have found a thing in a computer programming language that can actually learn us to be happy.

For those of you who don’t know, a method in programming is an ability or a behavior of an object or entity to do something, for example println() is a method in Java language that can print a piece of text and that is invoked when we try to print things in a console.

In Java, there is also a method called random(), that, according to the documentation, returns a double value with a positive sign, greater than or equal to 0.0 and less than 1.0. 

A simple method that can improve your day

I have been seeing that we wake up in different moods and actually when we are depressed, nervous, demotivated and in similar ones, we try to find reasons to use as excuses and others to blame because we think they are the source of those feelings.

But I have been trying to see it myself as an invocation of that Java method, random(), that has been in fact triggered in the morning and that it’s in my hand to change my mood and feel inspired, enthusiastic and ready to start the day by finding some compelling objectives to achieve during the day.

And you can do that too. Because you started the day by feeling uninspired, it doesn’t mean that you should continue it until the next morning, but it depends on you whether you want to go back to bed and loose that deadline because you accidentally invoked random() and aren’t feeling ready to face the world, or you can try to change your mood by simply recalling a good memory about a good thing that has happened to you recently or thinking about a compelling plan or objective that you are planing to accomplish.

A very easy process but nobody is using it

This can be seen as a very simple process, but I haven’t seen anybody doing it. It is true that some simple changes and tweaks made today can actually have huge long-term impacts. You can have the best method, but if you don’t use it, you are never going to benefit from it.

And it’s not said that you should try to do this only in the morning; there are also other periods during the day when we feel the same and this little trick could literally save our family members or job colleagues from unnecessary shouting and insults.

When you change your feeling, you can improve your mood, get more things done, be more grateful and have an outstanding life. Instead of waiting for a good day, try to make today the best day of your life.