At each moment of our lives we are in the never-ending pursuit of getting more, whether that is things, skills or experiences, but we usually forget to take a moment and appreciate all the things that we currently have. No matter how much money we get, or how long we live, it is very probable that we will still want more. Continue reading
Tag: happiness
We 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. Continue reading